#2a1b38 Hex Color
rgb(42, 27, 56)
Color Information
Name | First value | Second Value | Third Value | Fourth Value | Written As |
---|---|---|---|---|---|
HEX | 2a | 1b | 38 | - | #2a1b38 |
RGB | 42 | 27 | 56 | - | rgb(42,27,56) |
HSL | 271 | 35% | 16% | - | hsl(271,35%,16%) |
HSV | 271 | 52% | 22% | - | hsv(271,52%,22%) |
XYZ | 2.0606 | 1.5616 | 3.9342 | - | xyz(2.0606,1.5616,3.9342) |
CIE-LAB | 12.99 | 14.44 | -16.13 | - | lab(12.99,14.44,-16.13) |
CMYK | 0.25 | 0.51785714285714 | 0 | 0.78039215686275 | cmyk(0.25,0.51785714285714,0,0.78039215686275) |
Description
The RGB value of color #2a1b38 is rgb(42, 27, 56).
In the hex color #2a1b38, The value of Red is 42, value of Green is 27, and value of Blue is 56. The primary color is Blue. Similarly, The HSL values for #2a1b38 consists of 271° Hue, 35% Saturation, and 16% Lightness.
In the CMYK color model, the color #2a1b38 can be represented as Cyan=0.25%, Magenta=0.51785714285714%, Yellow=0%, and Black=0.78039215686275%.
Shades of #2a1b38
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 #2a1b38
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #2a1b38
Preview of #2a1b38 on White Background
The contrast ratio of #2a1b38 with white color is 16
#2a1b38 color will look good on a white background.
Preview of #2a1b38 on black background
The contrast ratio of #2a1b38 with black color is 1.31
Color Schemes of #2a1b38
Triadic Colors of #2a1b38
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 #2a1b38
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 #2a1b38
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 #2a1b38
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 #2a1b38
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: #2a1b38;
}
This is a sample text used for the color #2a1b38. 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: #2a1b38;
}
This is a sample text used for the color #2a1b38. 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 #2a1b38;
}
This is a sample text used for the color #2a1b38. 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 33.6%
Green 21.6%
Blue 44.8%
CMYK Percentage
Cyan 16.15
Magenta 33.45%
Yellow 0%
Black 50.4%
Comments on this color
Please login or signup to post a comment.
No comments yet.