Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

enter image description here

Is it possible to add your own colours to the colour picker. If so how do you do so?

share|improve this question
wich colourpicker is this –  Sebastien Stettler Apr 3 '12 at 8:40
HTe one of the Ribbon for a content editor web part –  John Apr 3 '12 at 9:35

1 Answer 1

Down in the Standard Colors section you can add more colors by including styles like this:

.ms-rteForeColor-11 {
  color: darkred;
  -ms-name: "";
  -ms-color:"Dark Red";
.ms-rteForeColor-12 {
  color: darkred;
  -ms-name: "";
  -ms-color:"Dark Red";

Similar you can define new background colors using .ms-rteBakcColor-XX

The colors at the top are controlled by the theme and should not be modified by CSS

share|improve this answer
thanks that is a nice trick... –  Sebastien Stettler Apr 3 '12 at 9:42
More detailed answer: bentedder.com/… –  Louis Apr 3 '12 at 10:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.