-
1. Re: Custom Color Palette Not Loading
Dmitry ChirkovMay 31, 2016 11:17 PM (in response to Connor Harle)
1 of 1 people found this helpfulCan you attach your preferences file?
My initial guess would be around quote signs being copied incorrectly from browser.
-
2. Re: Custom Color Palette Not Loading
Connor Harle Jun 1, 2016 9:18 AM (in response to Dmitry Chirkov)The Preferences.tps file is attached here
-
Preferences.tps.zip 309 bytes
-
-
3. Re: Custom Color Palette Not Loading
Rahul Upadhye Jun 1, 2016 10:46 AM (in response to Connor Harle)Hey Connor,
There was an incorrect syntax, type="categorical" is invalid
i've modified it to type="regular"
use this attached .tps file to resolve ur issue.
Cheers,Rahul
-
Preferences.tps.zip 301 bytes
-
-
4. Re: Custom Color Palette Not Loading
Connor Harle Jun 1, 2016 10:10 AM (in response to Rahul Upadhye)Wow, that should've been obvious. Goes to show how helpful it is to have someone else look at your work! Thank you!
-
5. Re: Custom Color Palette Not Loading
Rahul Upadhye Jun 1, 2016 10:55 AM (in response to Connor Harle)2 of 2 people found this helpfulYeah... you are welcome, community forum is a very useful place...
-
6. Re: Custom Color Palette Not Loading
Helen Lindsay Oct 6, 2016 10:11 AM (in response to Rahul Upadhye)Hi,
Your example of the .tps file for a customised colour palette was very helpful. I copied your quote marks and it worked.
The Online Help article http://onlinehelp.tableau.com/current/pro/desktop/en-us/help.htm#formatting_create_custom_colors.html?lang=en-us says: When you modify
Preferences.tps
to add colors, use the standard HTML format for the new colors (hexadecimal value #RRGGBB or Red Green Blue format).I can get it working with hexadecimal value but not Red Green Blue format. Have you managed to do this?
I've attached my two .tps files. Preferences.tps works but Preferences RGB not working.tps just gives black. I need to be able to use both formats because not all the brand colours are available to me in hexadecimal value.
Regards,
Helen
-
Preferences.tps.zip 314 bytes
-
Preferences RGB not working.txt.zip 404 bytes
-
-
7. Re: Custom Color Palette Not Loading
Rahul Upadhye Oct 6, 2016 1:28 PM (in response to Helen Lindsay)2 of 2 people found this helpfulHi Helen,
Tableau renders color palette using the hexadecimal color code which was stored in .tps file
RGB values wont work so they need to be converted to #hex before proceeding.
Have this site handy for conversion: RGB-to-Hex Color Converter
Eventually all possible RGB combinations will lead to 256 * 256 * 256 = 16,777,216 colors
and every RGB color combination can be converted to #hex format.
You may find color theory interesting to read as well... Web colors
- Rahul
-
8. Re: Custom Color Palette Not Loading
Helen Lindsay Oct 6, 2016 1:22 PM (in response to Rahul Upadhye)1 of 1 people found this helpfulThanks Rahul,
I've used a conversion tool long ago and forgotten all about it! Thanks so much for reminding me. I've got a full set of colours in my custom palette now.
Helen