#402d4c Hex Color
rgb(64, 45, 76)
Color Information
Name | First value | Second Value | Third Value | Fourth Value | Written As |
---|---|---|---|---|---|
HEX | 40 | 2d | 4c | - | #402d4c |
RGB | 64 | 45 | 76 | - | rgb(64,45,76) |
HSL | 277 | 26% | 24% | - | hsl(277,26%,24%) |
HSV | 277 | 41% | 30% | - | hsv(277,41%,30%) |
XYZ | 4.3572 | 3.4886 | 7.2812 | - | xyz(4.3572,3.4886,7.2812) |
CIE-LAB | 21.9 | 15.57 | -15.83 | - | lab(21.9,15.57,-15.83) |
CMYK | 0.15789473684211 | 0.40789473684211 | 0 | 0.70196078431373 | cmyk(0.15789473684211,0.40789473684211,0,0.70196078431373) |
Description
The RGB value of color #402d4c is rgb(64, 45, 76).
In the hex color #402d4c, The value of Red is 64, value of Green is 45, and value of Blue is 76. The primary color is Blue. Similarly, The HSL values for #402d4c consists of 277° Hue, 26% Saturation, and 24% Lightness.
In the CMYK color model, the color #402d4c can be represented as Cyan=0.15789473684211%, Magenta=0.40789473684211%, Yellow=0%, and Black=0.70196078431373%.
Shades of #402d4c
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 #402d4c
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #402d4c
Preview of #402d4c on White Background
The contrast ratio of #402d4c with white color is 12.37
#402d4c color will look good on a white background.
Preview of #402d4c on black background
The contrast ratio of #402d4c with black color is 1.7
Color Schemes of #402d4c
Triadic Colors of #402d4c
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 #402d4c
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 #402d4c
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 #402d4c
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 #402d4c
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: #402d4c;
}
This is a sample text used for the color #402d4c. 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: #402d4c;
}
This is a sample text used for the color #402d4c. 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 #402d4c;
}
This is a sample text used for the color #402d4c. 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.59%
Green 24.32%
Blue 41.08%
CMYK Percentage
Cyan 12.45
Magenta 32.17%
Yellow 0%
Black 55.37%
Comments on this color
Please login or signup to post a comment.
No comments yet.