#152a1f Hex Color
rgb(21, 42, 31)
Color Information
Name | First value | Second Value | Third Value | Fourth Value | Written As |
---|---|---|---|---|---|
HEX | 15 | 2a | 1f | - | #152a1f |
RGB | 21 | 42 | 31 | - | rgb(21,42,31) |
HSL | 149 | 33% | 12% | - | hsl(149,33%,12%) |
HSV | 149 | 50% | 16% | - | hsv(149,50%,16%) |
XYZ | 1.3845 | 1.9143 | 1.5928 | - | xyz(1.3845,1.9143,1.5928) |
CIE-LAB | 15.03 | -11.64 | 4.59 | - | lab(15.03,-11.64,4.59) |
CMYK | 0.5 | 0 | 0.26190476190476 | 0.83529411764706 | cmyk(0.5,0,0.26190476190476,0.83529411764706) |
Description
The RGB value of color #152a1f is rgb(21, 42, 31).
In the hex color #152a1f, The value of Red is 21, value of Green is 42, and value of Blue is 31. The primary color is Green. Similarly, The HSL values for #152a1f consists of 149° Hue, 33% Saturation, and 12% Lightness.
In the CMYK color model, the color #152a1f can be represented as Cyan=0.5%, Magenta=0%, Yellow=0.26190476190476%, and Black=0.83529411764706%.
Shades of #152a1f
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 #152a1f
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #152a1f
Preview of #152a1f on White Background
The contrast ratio of #152a1f with white color is 15.19
#152a1f color will look good on a white background.
Preview of #152a1f on black background
The contrast ratio of #152a1f with black color is 1.38
Color Schemes of #152a1f
Triadic Colors of #152a1f
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 #152a1f
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 #152a1f
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 #152a1f
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 #152a1f
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: #152a1f;
}
This is a sample text used for the color #152a1f. 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: #152a1f;
}
This is a sample text used for the color #152a1f. 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 #152a1f;
}
This is a sample text used for the color #152a1f. 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 22.34%
Green 44.68%
Blue 32.98%
CMYK Percentage
Cyan 31.3
Magenta 0%
Yellow 16.4%
Black 52.3%
Comments on this color
Please login or signup to post a comment.
No comments yet.