In RGB color space, #512ff4 hex color has a red value of 81, a green value of 47 and a blue value of 244.
In CMYK color space (used in color printing), #512ff4 hex color is composed of 66.8% cyan, 80.74% magenta, 0% yellow and 4.31% black.
#512ff4 color has a hue of 250.4 degrees, a saturation of 89.95% and a lightness of 57.1%.
#512ff4 hex color contains mainly BLUE.
The closest web safe color of #512ff4 is #6633ff
#512ff4 hex color has a decimal value of 5320692.
HEX | 512ff4 | #512ff4 |
---|---|---|
RGB | 81, 47, 244 | rgb(81, 47, 244) |
RGB Percent | 31.76, 18.43, 95.69 | rgb(31.76, 18.43, 95.69) |
CMYK | 67, 81, 0, 4 | |
HSL | 250.4°, 89.95, 57.1 | hsl(250.4, 89.95%, 57.1%) |
HSV | 250.4°, 80.7, 95.7 |
XYZ | 20.739, 10.314, 86.486 |
---|---|
Hunter Lab | 32.115, 59.067, -137.186 |
CIE-LAB | 38.4, 66.53, -91.428 |
CIE-LCH | 38.4, 113.072, 306.042 |
CIE-LUV | 66.8, 80.74, 0, 4.31 |
Web Safe | 6633ff |
RGB percent of color #512ff4
CMYK percent of color #512ff4
Text with hexadecimal color #512ff4
This text has a font color of #512ff4
<p style="color:#512ff4">Text here</p>
#512ff4 Background Color
This box has a background color of #512ff4
<div style="background-color:#512ff4">Text here</div>
#512ff4 Border Color
This box has a border color of #512ff4
<div style="border: 4px solid #512ff4">Text here</div>
CSS codes
<p style="color:#512ff4">Text here</p>
<div style="background-color:#512ff4">Text here</div>
<div style="border: 4px solid #512ff4">Text here</div>
#512ff4 Color on white background
This is how a font and box color of #512ff4 will look
on a white background.
#512ff4 Color on black background
This is how a font and box color of #512ff4 hex color will look
on a black background.