Css Colors PDF
Css Colors PDF
CSS uses color values to specify a color. Typically, these are used to set a color either for the
foreground of an element i. e. , itstext or else for the background of the element. They can also be
used to affect the color of borders and other decorative effects.
You can specify your color values in various formats. Following table lists all the possible formats −
A hexadecimal value can be taken from any graphics software like Adobe Photoshop, Jasc
Paintshop Pro, or even using Advanced Paint Brush.
Each hexadecimal code will be preceded by a pound or hash sign '#'. Following are the examples
to use Hexadecimal notation.
#000000
#FF0000
#00FF00
#0000FF
#FFFF00
#00FFFF
#FF00FF
#C0C0C0
#FFFFFF
Each hexadecimal code will be preceded by a pound or hash sign '#'. Following are the examples
to use Hexadecimal notation.
#000
#F00
#0F0
#0FF
#FF0
#0FF
#F0F
#FFF
NOTE: All the browsers does not support rgb property of color so it is recommended not to use it.
rgb0, 0, 0
rgb255, 0, 0
rgb0, 255, 0
rgb0, 0, 255
rgb255, 255, 0
rgb255, 0, 255
Loading [MathJax]/jax/output/HTML-CSS/jax.js