#21281f Hex Color
rgb(33, 40, 31)
Color Information
Name | First value | Second Value | Third Value | Fourth Value | Written As |
---|---|---|---|---|---|
HEX | 21 | 28 | 1f | - | #21281f |
RGB | 33 | 40 | 31 | - | rgb(33,40,31) |
HSL | 107 | 13% | 14% | - | hsl(107,13%,14%) |
HSV | 107 | 23% | 16% | - | hsv(107,23%,16%) |
XYZ | 1.6333 | 1.9398 | 1.5847 | - | xyz(1.6333,1.9398,1.5847) |
CIE-LAB | 15.17 | -5.32 | 4.91 | - | lab(15.17,-5.32,4.91) |
CMYK | 0.175 | 0 | 0.225 | 0.84313725490196 | cmyk(0.175,0,0.225,0.84313725490196) |
Description
The RGB value of color #21281f is rgb(33, 40, 31).
In the hex color #21281f, The value of Red is 33, value of Green is 40, and value of Blue is 31. The primary color is Green. Similarly, The HSL values for #21281f consists of 107° Hue, 13% Saturation, and 14% Lightness.
In the CMYK color model, the color #21281f can be represented as Cyan=0.175%, Magenta=0%, Yellow=0.225%, and Black=0.84313725490196%.
Shades of #21281f
Shades in a color are variations of the color that are created by adding black to it which results in a darker tone.
Tints of #21281f
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #21281f
Preview of #21281f on White Background
The contrast ratio of #21281f with white color is 15.13
#21281f color will look good on a white background.
Preview of #21281f on black background
The contrast ratio of #21281f with black color is 1.39
Color Schemes of #21281f
Triadic Colors of #21281f
Triadic colors are three colors that are evenly spaced around the color wheel and are therefore harmonious when used together in a design.
Analogous Colors of #21281f
Analogous colors are colors that are next to each other on the color wheel and share a similar hue, creating a cohesive and harmonious color scheme.
Triadic Colors of #21281f
Triadic colors are three colors that are evenly spaced around the color wheel and are therefore harmonious when used together in a design.
Analogous Colors of #21281f
Analogous colors are colors that are next to each other on the color wheel and share a similar hue, creating a cohesive and harmonious color scheme.
Monochromatic Colors of #21281f
Monochromatic colors are variations of a single color that are created by using different shades, tints, and tones of that color which results in a harmonious and cohesive color scheme.
Color Usage
You can set the css color of a text using:
.class{
color: #21281f;
}
This is a sample text used for the color #21281f. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.
You can set the css background color of a box using:
.box{
background-color: #21281f;
}
This is a sample text used for the color #21281f. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.
You can set the css border of a box using:
.box{
border:4px solid #21281f;
}
This is a sample text used for the color #21281f. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.
RGB Percentage
Red 31.73%
Green 38.46%
Blue 29.81%
CMYK Percentage
Cyan 14.08
Magenta 0%
Yellow 18.1%
Black 67.82%
Comments on this color
Please login or signup to post a comment.
No comments yet.