You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Color not only brings your site to life, but also helps convey the mood and evokes reactions.
There are three ways to specify colors in CSS:
RGB values
hex codes
color names
Color pickers can help you find the color you want.
It is important to ensure that there is enough contrast between any text and the background color (otherwise people will not be able to read your content).
CSS3 has introduced an extra value for RGB colors toindicate opacity. It is known as RGBA.
CSS3 also allows you to specify colors as HSL values,with an optional opacity value. It is known as HSLA.
cSS Colors
Colors in CSS can be specified by the following methods: