#162040 Hex Color
rgb(22, 32, 64)
Color Information
Name | First value | Second Value | Third Value | Fourth Value | Written As |
---|---|---|---|---|---|
HEX | 16 | 20 | 40 | - | #162040 |
RGB | 22 | 32 | 64 | - | rgb(22,32,64) |
HSL | 226 | 49% | 17% | - | hsl(226,49%,17%) |
HSV | 226 | 66% | 25% | - | hsv(226,66%,25%) |
XYZ | 1.7728 | 1.5738 | 5.0608 | - | xyz(1.7728,1.5738,5.0608) |
CIE-LAB | 13.07 | 7.3 | -21.79 | - | lab(13.07,7.3,-21.79) |
CMYK | 0.65625 | 0.5 | 0 | 0.74901960784314 | cmyk(0.65625,0.5,0,0.74901960784314) |
Description
The RGB value of color #162040 is rgb(22, 32, 64).
In the hex color #162040, The value of Red is 22, value of Green is 32, and value of Blue is 64. The primary color is Blue. Similarly, The HSL values for #162040 consists of 226° Hue, 49% Saturation, and 17% Lightness.
In the CMYK color model, the color #162040 can be represented as Cyan=0.65625%, Magenta=0.5%, Yellow=0%, and Black=0.74901960784314%.
Shades of #162040
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 #162040
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #162040
Preview of #162040 on White Background
The contrast ratio of #162040 with white color is 15.97
#162040 color will look good on a white background.
Preview of #162040 on black background
The contrast ratio of #162040 with black color is 1.31
Color Schemes of #162040
Triadic Colors of #162040
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 #162040
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 #162040
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 #162040
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 #162040
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: #162040;
}
This is a sample text used for the color #162040. 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: #162040;
}
This is a sample text used for the color #162040. 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 #162040;
}
This is a sample text used for the color #162040. 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 18.64%
Green 27.12%
Blue 54.24%
CMYK Percentage
Cyan 34.44
Magenta 26.24%
Yellow 0%
Black 39.31%
Comments on this color
Please login or signup to post a comment.
No comments yet.