Colorizing Text
Posted: Sat 03 Jul 2004, 16:45:26
PeakOil Font Colors
are RGB HEX duplets.
Red = 0-255 decimal value converted to HEX duplet
Grn = 0-255 decimal value converted to HEX duplet
Blu = 0-255 decimal value converted to HEX duplet
ERGO:
RRGGBB is the BBCode equivalent of Windows
RedGreenBlue palette in 0-255 decimal values
turned into HH duplets such that:
Red level of 128, Green level of 205 &
Blue level of 63 is a Pastel Green.
Red::128=80 hex
Green::205=CD hex
Blue::63=3F hex
Putting them together in BBCode would look like:
80CD3F
and the code call would be {color=#80CD3F}text to be colored Pastel Green{/color}
Replacing the braces with square brackets, [ for { and } for ] in the example, looks like this:
and the code call would be text to be colored Pastel Green
Setting the Calculator in Windows to Scientific in the View menu gives you the ability to switch between Decimal and Hexidecimal. Go to the Windows color palette in MSPaint or in the Appearance tab in Display Properties for the Desktop and get to define Custom Colors to find the decimal R,G,B values for the color you want and with the Calculator convert each value to HEX. Then follow the recipe above. Have Fun....
are RGB HEX duplets.
Red = 0-255 decimal value converted to HEX duplet
Grn = 0-255 decimal value converted to HEX duplet
Blu = 0-255 decimal value converted to HEX duplet
ERGO:
RRGGBB is the BBCode equivalent of Windows
RedGreenBlue palette in 0-255 decimal values
turned into HH duplets such that:
Red level of 128, Green level of 205 &
Blue level of 63 is a Pastel Green.
Red::128=80 hex
Green::205=CD hex
Blue::63=3F hex
Putting them together in BBCode would look like:
80CD3F
and the code call would be {color=#80CD3F}text to be colored Pastel Green{/color}
Replacing the braces with square brackets, [ for { and } for ] in the example, looks like this:
and the code call would be text to be colored Pastel Green
Setting the Calculator in Windows to Scientific in the View menu gives you the ability to switch between Decimal and Hexidecimal. Go to the Windows color palette in MSPaint or in the Appearance tab in Display Properties for the Desktop and get to define Custom Colors to find the decimal R,G,B values for the color you want and with the Calculator convert each value to HEX. Then follow the recipe above. Have Fun....