Edit font colour pallet in Editor
Asked by Greigh MacMichael:

We used to update the confluence server colours available in the text editor using the below article: <https://confluence.atlassian.com/confkb/how-to-customize-confluence-editor-s-color-palette-313464920.html>

<br />

We upgraded to 6.12.0 that we host. Now I am being told that the .jar files look a little different and contain more information:   

**OLD** (just add to the hex list):   

'FF6600'

<br />

**NEW**

\[ 'hex' : 'FF6600', 'name' : getText('tinymce.colorpicker.orange') \]

I can certainly add more values using the hex value, as for the name it looks like it is now reaching out to an end point for the company that actually makes the text editor that Altassian licenses from: <https://www.tiny.cloud/> as per the 'tinymce'.   

Wondering if anyone has any experience modifying this in the new version?


Answers:
author: Stephen Sifers
body: Hello Greigh and welcome to the Community!

You have a very solid understanding of editing the color pallets within Confluence. As you noted, yes the JAR files have changed within Confluence 6.12+. With this said, you can edit the colors within the JAR files as follows;

```
[ 'hex' : '000000', 'name' : getText('tinymce.colorpicker.Color1') ],
[ 'hex' : '000001', 'name' : getText('tinymce.colorpicker.Color2') ],
[ 'hex' : '000002', 'name' : getText('tinymce.colorpicker.Color3') ],
[ 'hex' : '000003', 'name' : getText('tinymce.colorpicker.Color4') ],
[ 'hex' : '000004', 'name' : getText('tinymce.colorpicker.Color5') ],
[ 'hex' : '000005', 'name' : getText('tinymce.colorpicker.Color6') ],
[ 'hex' : '000006', 'name' : getText('tinymce.colorpicker.Color7') ],
[ 'hex' : '000007', 'name' : getText('tinymce.colorpicker.Color8') ]
```

Something to keep in mind is that you must select a color name listed within tinymce.colorpicker or your colors named will not display properly, example here for an incorrect name;

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/40158iBC7153AD5919EDB3/image-size/large?v=v2&px=999 "image.png")

Another item to be aware of is to ensure you are properly editing your JAR files so Confluence is able to access them. Follow the documentation to ensure you edit them correct; [How to edit files in Confluence JAR files](https://confluence.atlassian.com/confkb/how-to-edit-files-in-confluence-jar-files-103711179.html).

I hope this helps clarify how to edit the color pallet along with how to edit files within the JAR files.

Regards,  
Stephen Sifers

comments: author: Greigh MacMichael
body: Thanks Stephen, we will try this out and post on thread, thanks for the help!!!!!


author: Greigh MacMichael
body: Hi Stephen we tried this and it broke the ability to create, or edit pages.


author: Stephen Sifers
body: Hello Greigh,

When I tested and wrote the solution above I was able to create and edit pages (thus the screenshot above). I would be interested to know what was modified and how. From that, I would be able to retest and see if there is an issue.

Please let us know the steps you took to edit the color pallet and what was edited exactly within the files.

We look forward to your response so we may find out what's going wrong.

Regards,  
Stephen Sifers


Tags: atl-adm

confluence-server

server