In RGB color space, #4d21b8 hex color has a red value of 77, a green value of 33 and a blue value of 184.
In CMYK color space (used in color printing), #4d21b8 hex color is composed of 58.15% cyan, 82.07% magenta, 0% yellow and 27.84% black.
#4d21b8 color has a hue of 257.5 degrees, a saturation of 69.59% and a lightness of 42.5%.
#4d21b8 hex color contains mainly BLUE.
The closest web safe color of #4d21b8 is #6633cc
#4d21b8 hex color has a decimal value of 5054904.
HEX | 4d21b8 | #4d21b8 |
---|---|---|
RGB | 77, 33, 184 | rgb(77, 33, 184) |
RGB Percent | 30.2, 12.94, 72.16 | rgb(30.2, 12.94, 72.16) |
CMYK | 58, 82, 0, 28 | |
HSL | 257.5°, 69.59, 42.5 | hsl(257.5, 69.59%, 42.5%) |
HSV | 257.5°, 82.1, 72.2 |
XYZ | 12.256, 6.126, 45.884 |
---|---|
Hunter Lab | 24.751, 45.075, -92.589 |
CIE-LAB | 29.728, 55.5, -71.103 |
CIE-LCH | 29.728, 90.199, 307.974 |
CIE-LUV | 58.15, 82.07, 0, 27.84 |
Web Safe | 6633cc |
RGB percent of color #4d21b8
CMYK percent of color #4d21b8
Text with hexadecimal color #4d21b8
This text has a font color of #4d21b8
<p style="color:#4d21b8">Text here</p>
#4d21b8 Background Color
This box has a background color of #4d21b8
<div style="background-color:#4d21b8">Text here</div>
#4d21b8 Border Color
This box has a border color of #4d21b8
<div style="border: 4px solid #4d21b8">Text here</div>
CSS codes
<p style="color:#4d21b8">Text here</p>
<div style="background-color:#4d21b8">Text here</div>
<div style="border: 4px solid #4d21b8">Text here</div>
#4d21b8 Color on white background
This is how a font and box color of #4d21b8 will look
on a white background.
#4d21b8 Color on black background
This is how a font and box color of #4d21b8 hex color will look
on a black background.