In RGB color space, #2228f2 hex color has a red value of 34, a green value of 40 and a blue value of 242.
In CMYK color space (used in color printing), #2228f2 hex color is composed of 85.95% cyan, 83.47% magenta, 0% yellow and 5.1% black.
#2228f2 color has a hue of 238.3 degrees, a saturation of 88.89% and a lightness of 54.1%.
#2228f2 hex color contains mainly BLUE.
The closest web safe color of #2228f2 is #3333ff
#2228f2 hex color has a decimal value of 2238706.
HEX | 2228f2 | #2228f2 |
---|---|---|
RGB | 34, 40, 242 | rgb(34, 40, 242) |
RGB Percent | 13.33, 15.69, 94.9 | rgb(13.33, 15.69, 94.9) |
CMYK | 86, 83, 0, 5 | |
HSL | 238.3°, 88.89, 54.1 | hsl(238.3, 88.89%, 54.1%) |
HSV | 238.3°, 86, 94.9 |
XYZ | 17.445, 8.268, 84.681 |
---|---|
Hunter Lab | 28.754, 57.975, -154.481 |
CIE-LAB | 34.535, 66.327, -96.795 |
CIE-LCH | 34.535, 117.339, 304.42 |
CIE-LUV | 85.95, 83.47, 0, 5.1 |
Web Safe | 3333ff |
RGB percent of color #2228f2
CMYK percent of color #2228f2
Text with hexadecimal color #2228f2
This text has a font color of #2228f2
<p style="color:#2228f2">Text here</p>
#2228f2 Background Color
This box has a background color of #2228f2
<div style="background-color:#2228f2">Text here</div>
#2228f2 Border Color
This box has a border color of #2228f2
<div style="border: 4px solid #2228f2">Text here</div>
CSS codes
<p style="color:#2228f2">Text here</p>
<div style="background-color:#2228f2">Text here</div>
<div style="border: 4px solid #2228f2">Text here</div>
#2228f2 Color on white background
This is how a font and box color of #2228f2 will look
on a white background.
#2228f2 Color on black background
This is how a font and box color of #2228f2 hex color will look
on a black background.