HTML color codes for scarlet - hexadecimal + RGB
Discover all HTML codes for the color scarlet - hexadecimal, rgb, hsl, hsv, and cmyk, as well as different combinations, schemes, temperatures, hues, and types of scarlet color.
#e30032
Complementary color of scarlet:
The complementary color of a color is the opposite of it on the color wheel (chromatic circle)
#00e3b1
Monochromatic scheme of the color scarlet
This scheme is based on the color scarlet and is composed of different hues, tones, and shades, both dark and light.
HTML and CSS codes for the color scarlet
format | code |
---|---|
hex | #e30032 |
rgb | rgb(227,0,50) |
hsl | hsl(347,100%,45%) |
cmyk | cmyk(0, 100, 78, 11) |
hsv | hsv(347, 100%, 90%) |
What is the scarlet color in RGB format?
The scarlet color in RGB format is composed of (227 in the red channel), (0 in the green channel), and (50 in the blue channel).
What is the scarlet color in CMYK format?
It is composed of (0%) cyan, (100%) magenta, (78%) yellow, and (11%) black / key.
What is the composition of the scarlet color in HSL?
It is composed of (347°) hue, (100%) saturation, and (45%) lightness.
What is the scarlet color in HSV format?
The scarlet color in HSV format is composed of (347°) hue, (100%) saturation, and (90%) value.
Analogous scheme of the color scarlet
Analogous colors are obtained from the two closest colors within the color wheel.
Triadic scheme of the color scarlet
The triadic scheme is obtained from 3 colors equally spaced from each other within the color wheel
Tetradic scheme of the color scarlet
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 scarlet
This color scheme is obtained by using two pairs of opposing colors on the color wheel in a rectangular shape.
Tints of the color scarlet
Tints are obtained from the base color scarlet up to reaching white, finding in between shades of pastel colors.
Shades of the color scarlet
These shades are obtained from the base color scarlet up to reaching black.
Check the contrast of the color scarlet.
You can now validate the contrast relationship of the color scarlet, whether using it as a background color or as a text color.
Contrast ratio test of the color scarlet as a background
Contrast ratio test of the color scarlet as text.
How to implement the color scarlet in HTML and CSS
Here are examples of code to use the scarlet 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 scarlet in HTML - CSS.
To set the background color, you can use inline styles or apply them in a CSS stylesheet
<div style="background:#e30032;"> Color scarlet as the background of a div.</div>
/* Color scarlet as the background of the body tag with CSS. */body {background: #e30032;}
To set the text color scarlet in HTML - CSS.
To set the text color, you can use inline styles or apply them in a CSS stylesheet.
<p style="color:#e30032;"> Color scarlet as the text color.</p>
p {color:#e30032 ;}