In RGB color space, #402546 hex color has a red value of 64, a green value of 37 and a blue value of 70.
In CMYK color space (used in color printing), #402546 hex color is composed of 8.57% cyan, 47.14% magenta, 0% yellow and 72.55% black.
#402546 color has a hue of 289.1 degrees, a saturation of 30.84% and a lightness of 21%.
#402546 hex color contains mainly BLUE.
The closest web safe color of #402546 is #333333
#402546 hex color has a decimal value of 4203846.
HEX | 402546 | #402546 |
---|---|---|
RGB | 64, 37, 70 | rgb(64, 37, 70) |
RGB Percent | 25.1, 14.51, 27.45 | rgb(25.1, 14.51, 27.45) |
CMYK | 9, 47, 0, 73 | |
HSL | 289.1°, 30.84, 21 | hsl(289.1, 30.84%, 21%) |
HSV | 289.1°, 47.1, 27.5 |
XYZ | 3.881, 2.855, 6.141 |
---|---|
Hunter Lab | 16.897, 11.43, -9.721 |
CIE-LAB | 19.454, 19.359, -15.572 |
CIE-LCH | 19.454, 24.845, 321.187 |
CIE-LUV | 8.57, 47.14, 0, 72.55 |
Web Safe | 333333 |
RGB percent of color #402546
CMYK percent of color #402546
Text with hexadecimal color #402546
This text has a font color of #402546
<p style="color:#402546">Text here</p>
#402546 Background Color
This box has a background color of #402546
<div style="background-color:#402546">Text here</div>
#402546 Border Color
This box has a border color of #402546
<div style="border: 4px solid #402546">Text here</div>
CSS codes
<p style="color:#402546">Text here</p>
<div style="background-color:#402546">Text here</div>
<div style="border: 4px solid #402546">Text here</div>
#402546 Color on white background
This is how a font and box color of #402546 will look
on a white background.
#402546 Color on black background
This is how a font and box color of #402546 hex color will look
on a black background.