In RGB color space, #6040d2 hex color has a red value of 96, a green value of 64 and a blue value of 210.
In CMYK color space (used in color printing), #6040d2 hex color is composed of 54.29% cyan, 69.52% magenta, 0% yellow and 17.65% black.
#6040d2 color has a hue of 253.2 degrees, a saturation of 61.86% and a lightness of 53.7%.
#6040d2 hex color contains mainly BLUE.
The closest web safe color of #6040d2 is #6633cc
#6040d2 hex color has a decimal value of 6308050.
HEX | 6040d2 | #6040d2 |
---|---|---|
RGB | 96, 64, 210 | rgb(96, 64, 210) |
RGB Percent | 37.65, 25.1, 82.35 | rgb(37.65, 25.1, 82.35) |
CMYK | 54, 70, 0, 18 | |
HSL | 253.2°, 61.86, 53.7 | hsl(253.2, 61.86%, 53.7%) |
HSV | 253.2°, 69.5, 82.4 |
XYZ | 18.29, 10.807, 62.095 |
---|---|
Hunter Lab | 32.874, 41.782, -88.98 |
CIE-LAB | 39.253, 50.504, -70.59 |
CIE-LCH | 39.253, 86.796, 305.582 |
CIE-LUV | 54.29, 69.52, 0, 17.65 |
Web Safe | 6633cc |
RGB percent of color #6040d2
CMYK percent of color #6040d2
Text with hexadecimal color #6040d2
This text has a font color of #6040d2
<p style="color:#6040d2">Text here</p>
#6040d2 Background Color
This box has a background color of #6040d2
<div style="background-color:#6040d2">Text here</div>
#6040d2 Border Color
This box has a border color of #6040d2
<div style="border: 4px solid #6040d2">Text here</div>
CSS codes
<p style="color:#6040d2">Text here</p>
<div style="background-color:#6040d2">Text here</div>
<div style="border: 4px solid #6040d2">Text here</div>
#6040d2 Color on white background
This is how a font and box color of #6040d2 will look
on a white background.
#6040d2 Color on black background
This is how a font and box color of #6040d2 hex color will look
on a black background.