In RGB color space, #4228b1 hex color has a red value of 66, a green value of 40 and a blue value of 177.
In CMYK color space (used in color printing), #4228b1 hex color is composed of 62.71% cyan, 77.4% magenta, 0% yellow and 30.59% black.
#4228b1 color has a hue of 251.4 degrees, a saturation of 63.13% and a lightness of 42.5%.
#4228b1 hex color contains mainly BLUE.
The closest web safe color of #4228b1 is #333399
#4228b1 hex color has a decimal value of 4335793.
HEX | 4228b1 | #4228b1 |
---|---|---|
RGB | 66, 40, 177 | rgb(66, 40, 177) |
RGB Percent | 25.88, 15.69, 69.41 | rgb(25.88, 15.69, 69.41) |
CMYK | 63, 77, 0, 31 | |
HSL | 251.4°, 63.13, 42.5 | hsl(251.4, 63.13%, 42.5%) |
HSV | 251.4°, 77.4, 69.4 |
XYZ | 10.941, 5.85, 42.147 |
---|---|
Hunter Lab | 24.187, 38.418, -86.386 |
CIE-LAB | 29.031, 49.127, -68.119 |
CIE-LCH | 29.031, 83.986, 305.799 |
CIE-LUV | 62.71, 77.4, 0, 30.59 |
Web Safe | 333399 |
RGB percent of color #4228b1
CMYK percent of color #4228b1
Text with hexadecimal color #4228b1
This text has a font color of #4228b1
<p style="color:#4228b1">Text here</p>
#4228b1 Background Color
This box has a background color of #4228b1
<div style="background-color:#4228b1">Text here</div>
#4228b1 Border Color
This box has a border color of #4228b1
<div style="border: 4px solid #4228b1">Text here</div>
CSS codes
<p style="color:#4228b1">Text here</p>
<div style="background-color:#4228b1">Text here</div>
<div style="border: 4px solid #4228b1">Text here</div>
#4228b1 Color on white background
This is how a font and box color of #4228b1 will look
on a white background.
#4228b1 Color on black background
This is how a font and box color of #4228b1 hex color will look
on a black background.