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