#2a222f Hex Color
rgb(42, 34, 47)
Color Information
Name | First value | Second Value | Third Value | Fourth Value | Written As |
---|---|---|---|---|---|
HEX | 2a | 22 | 2f | - | #2a222f |
RGB | 42 | 34 | 47 | - | rgb(42,34,47) |
HSL | 277 | 16% | 16% | - | hsl(277,16%,16%) |
HSV | 277 | 28% | 18% | - | hsv(277,28%,18%) |
XYZ | 2.04 | 1.8415 | 2.9373 | - | xyz(2.04,1.8415,2.9373) |
CIE-LAB | 14.63 | 6.92 | -7.17 | - | lab(14.63,6.92,-7.17) |
CMYK | 0.1063829787234 | 0.27659574468085 | 0 | 0.8156862745098 | cmyk(0.1063829787234,0.27659574468085,0,0.8156862745098) |
Description
The RGB value of color #2a222f is rgb(42, 34, 47).
In the hex color #2a222f, The value of Red is 42, value of Green is 34, and value of Blue is 47. The primary color is Blue. Similarly, The HSL values for #2a222f consists of 277° Hue, 16% Saturation, and 16% Lightness.
In the CMYK color model, the color #2a222f can be represented as Cyan=0.1063829787234%, Magenta=0.27659574468085%, Yellow=0%, and Black=0.8156862745098%.
Shades of #2a222f
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 #2a222f
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #2a222f
Preview of #2a222f on White Background
The contrast ratio of #2a222f with white color is 15.35
#2a222f color will look good on a white background.
Preview of #2a222f on black background
The contrast ratio of #2a222f with black color is 1.37
Color Schemes of #2a222f
Triadic Colors of #2a222f
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 #2a222f
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 #2a222f
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 #2a222f
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 #2a222f
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: #2a222f;
}
This is a sample text used for the color #2a222f. 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: #2a222f;
}
This is a sample text used for the color #2a222f. 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 #2a222f;
}
This is a sample text used for the color #2a222f. 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 34.15%
Green 27.64%
Blue 38.21%
CMYK Percentage
Cyan 8.88
Magenta 23.08%
Yellow 0%
Black 68.05%
Comments on this color
Please login or signup to post a comment.
No comments yet.