Hello World
Lorem ipsum...
Hello World
Lorem ipsum...
Ut wisi enim...
Hello World
Hello World
Hello World
RGB value
Hashtag f value no official name but w/e
HSL value
RGBA
HSLA
An RGB color value represents RED, GREEN, and BLUE light sources.
AN RGBA color value is an extension of RGB with an Alpha channel (opacity).
In HTML, a color can be specified as an RGB value, using this formula:
rgb(red, green, blue)
Each parameter (red, green, and blue) defines the intensity of the color with a value between 0 and 255.
This means that there is 256 x 256 x 256 = 16777216 possible colors!
For example, rgb (255, 0, 0) is displayed as red, because red is set to its highest value (255), and the other two (green and blue) are set to 0.
Black: (0, 0 , 0)
White: (255, 255, 255)
Shades of gray are often defined using equal values for all three parameters: rgb(60, 60, 60) or rgb(100, 100, 100) or rgb (140, 140, 140) etc
An RGBA color value is specified with:
rgba(red, green, blue, alpha)
The alpha parameter is a number between 0.0 (fully transparents) and 1.0 (not transparent at all):
rgba(255, 99, 71, 0.5)
In HTML, a color can be specified using a hexadecimal value in the form:
#rrggbb
Where rr (red), gg(green) and bb(blue) are hexadecimal values between 00 and ff (same as decimal 0-255).
For example, #ff0000 is displayed as red, because red is set to its highest value (ff) and the other two (green and blue) are set to 00.
Black: #000000
White #ffffff
Shades of gray are often defined using equal values for all three parameters:
#404040 or #686868 or #a0a0a0 etc