Cascading Style Sheet (CSS) is a powerful language that is used to style a website.
It uses selectors, properties and values to style a website.
Learn More
Color |
|
Color Format |
How to use |
Named Format eg. red | It is used by just stating the name of the color as a value. |
RGB Format (Red, Green, Blue) eg. rgb(225, 0, 0) | It is used to set the color using the letters rgb and the numbers in a bracket. It has an optional part A; making rgba. The 'a' stands for alpha which gives blur. |
HSL Format (Hue, Saturation, Brightness)eg. hsl(0, 100%, 50%) | It is used to set color using hue, saturation and brightness. The hue is set by numbers whilst the saturation and brightness are set by percentages. |