HTML color codes for lavender - hexadecimal + RGB
Discover all HTML codes for the color lavender - hexadecimal, rgb, hsl, hsv, and cmyk, as well as different combinations, schemes, temperatures, hues, and types of lavender color.
#B57EDC
Complementary color of lavender:
The complementary color of a color is the opposite of it on the color wheel (chromatic circle)
#a5dc7e
Monochromatic scheme of the color lavender
This scheme is based on the color lavender and is composed of different hues, tones, and shades, both dark and light.
HTML and CSS codes for the color lavender
format | code |
---|---|
hex | #b57edc |
rgb | rgb(181,126,220) |
hsl | hsl(276,58%,68%) |
cmyk | cmyk(18, 43, 0, 14) |
hsv | hsv(276, 43%, 87%) |
What is the lavender color in RGB format?
The lavender color in RGB format is composed of (181 in the red channel), (126 in the green channel), and (220 in the blue channel).
What is the lavender color in CMYK format?
It is composed of (18%) cyan, (43%) magenta, (0%) yellow, and (14%) black / key.
What is the composition of the lavender color in HSL?
It is composed of (276°) hue, (58%) saturation, and (68%) lightness.
What is the lavender color in HSV format?
The lavender color in HSV format is composed of (276°) hue, (43%) saturation, and (87%) value.
Analogous scheme of the color lavender
Analogous colors are obtained from the two closest colors within the color wheel.
Triadic scheme of the color lavender
The triadic scheme is obtained from 3 colors equally spaced from each other within the color wheel
Tetradic scheme of the color lavender
This color scheme is obtained by using two pairs of opposing colors on the color wheel in a rectangular shape.
Split complementary scheme of the color lavender
This color scheme is obtained by using two pairs of opposing colors on the color wheel in a rectangular shape.
Tints of the color lavender
Tints are obtained from the base color lavender up to reaching white, finding in between shades of pastel colors.
Shades of the color lavender
These shades are obtained from the base color lavender up to reaching black.
Check the contrast of the color lavender.
You can now validate the contrast relationship of the color lavender, whether using it as a background color or as a text color.
Contrast ratio test of the color lavender as a background
Contrast ratio test of the color lavender as text.
How to implement the color lavender in HTML and CSS
Here are examples of code to use the lavender on your web page. Remember that you can implement the color in HTML using color codes such as hexadecimal, RGB, or HSL, and also directly with the color name written in English (as long as it is natively supported by HTML).
Background color lavender in HTML - CSS.
To set the background color, you can use inline styles or apply them in a CSS stylesheet
<div style="background:#B57EDC;"> Color lavender as the background of a div.</div>
/* Color lavender as the background of the body tag with CSS. */body {background: #B57EDC;}
To set the text color lavender in HTML - CSS.
To set the text color, you can use inline styles or apply them in a CSS stylesheet.
<p style="color:#B57EDC;"> Color lavender as the text color.</p>
p {color:#B57EDC ;}