admin管理员组

文章数量:1415421

I use a custom color for certain words on my web site. Every time want to use that color I need to click the Text Color icon and Customize... I then type in the RGB. Problem: It doesn't save that number or hex code. I have to type it in every session. Is there a way to save that custom color from one session to the next? Thank you.

I use a custom color for certain words on my web site. Every time want to use that color I need to click the Text Color icon and Customize... I then type in the RGB. Problem: It doesn't save that number or hex code. I have to type it in every session. Is there a way to save that custom color from one session to the next? Thank you.

Share Improve this question asked Dec 21, 2017 at 19:21 LouieLouie 194 bronze badges 1
  • 1 Try this stackoverflow/a/23183406/4156379 – Shibi Commented Dec 21, 2017 at 19:27
Add a comment  | 

2 Answers 2

Reset to default 2

To shorten your search the article points out that the suggested code is old and that you can now use this plug-in to define custom colors: Central Color Palette

if you are using the same color every time then add a piece of css to your site

ie

.keyword{color:#11c8de;}

then span your special word with <span class="keyword">YOUR SPECIAL WORD</span>

this offeres more flexibility if you want to change the color in the future all you change is your css and not every single word.

本文标签: textCustom color does not stick