View Full Version : Where are the html codes for colors in vB
carrlos
02-13-2008, 02:33 PM
I want the colors of my Moderators and Super Moderators to match two of the colors that are available in the message area of Quick Reply, etc. (the default 40 colors). Is there somewhere where the codes are listed?? Occasionally I would like to post the moderator's names in the same color that is designated.
I got this response (http://www.vbulletin.com/forum/showthread.php?t=259893) from vBulletin.com.
Lynne
02-13-2008, 03:25 PM
You really need to take a look at the source code on your forum and see what class of css is applied to the part of the message area you want to match. Once you know the css class, you can figure out how to apply it to your Moderators and Super Moderators.
carrlos
02-13-2008, 04:07 PM
Maybe I'm not explaining myself very well. In the "Quick Reply" box you have text editing tools (bold, italc, underline, text color, insert link, insert image and quote). Inside the "text color" box are 40 colors. What are the html codes for each of the colors or where can I find the codes???
Lynne
02-13-2008, 04:56 PM
You will find them all listed in /clientscript/vbulletin_textedit.js under the coloroptions array (around line 3293). Is that what you were looking for? That lists all the color codes and their color names.
carrlos
02-13-2008, 05:00 PM
If you're a woman, I THINK I LOVE YOU!!!!!!!!!!!!!!!!!!!!
If you're a man, thanks!!! That was exactly what I was looking for!! :D
Lynne
02-13-2008, 05:01 PM
If you're a woman, I THINK I LOVE YOU!!!!!!!!!!!!!!!!!!!!
https://vborg.vbsupport.ru/external/2009/02/28.gif
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.