#2a1f2d Hex Color
rgb(42, 31, 45)
Color Information
Name | First value | Second Value | Third Value | Fourth Value | Written As |
---|---|---|---|---|---|
HEX | 2a | 1f | 2d | - | #2a1f2d |
RGB | 42 | 31 | 45 | - | rgb(42,31,45) |
HSL | 287 | 18% | 15% | - | hsl(287,18%,15%) |
HSV | 287 | 31% | 18% | - | hsv(287,31%,18%) |
XYZ | 1.9185 | 1.6617 | 2.7022 | - | xyz(1.9185,1.6617,2.7022) |
CIE-LAB | 13.6 | 8.55 | -7.3 | - | lab(13.6,8.55,-7.3) |
CMYK | 0.066666666666667 | 0.31111111111111 | 0 | 0.82352941176471 | cmyk(0.066666666666667,0.31111111111111,0,0.82352941176471) |
Description
The RGB value of color #2a1f2d is rgb(42, 31, 45).
In the hex color #2a1f2d, The value of Red is 42, value of Green is 31, and value of Blue is 45. The primary color is Blue. Similarly, The HSL values for #2a1f2d consists of 287° Hue, 18% Saturation, and 15% Lightness.
In the CMYK color model, the color #2a1f2d can be represented as Cyan=0.066666666666667%, Magenta=0.31111111111111%, Yellow=0%, and Black=0.82352941176471%.
Shades of #2a1f2d
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 #2a1f2d
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #2a1f2d
Preview of #2a1f2d on White Background
The contrast ratio of #2a1f2d with white color is 15.76
#2a1f2d color will look good on a white background.
Preview of #2a1f2d on black background
The contrast ratio of #2a1f2d with black color is 1.33
Color Schemes of #2a1f2d
Triadic Colors of #2a1f2d
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 #2a1f2d
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 #2a1f2d
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 #2a1f2d
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 #2a1f2d
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: #2a1f2d;
}
This is a sample text used for the color #2a1f2d. 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: #2a1f2d;
}
This is a sample text used for the color #2a1f2d. 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 #2a1f2d;
}
This is a sample text used for the color #2a1f2d. 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 35.59%
Green 26.27%
Blue 38.14%
CMYK Percentage
Cyan 5.55
Magenta 25.9%
Yellow 0%
Black 68.55%
Comments on this color
Please login or signup to post a comment.
No comments yet.