In RGB color space, #ba21ec hex color has a red value of 186, a green value of 33 and a blue value of 236.
In CMYK color space (used in color printing), #ba21ec hex color is composed of 21.19% cyan, 86.02% magenta, 0% yellow and 7.45% black.
#ba21ec color has a hue of 285.2 degrees, a saturation of 84.23% and a lightness of 52.7%.
#ba21ec hex color contains mainly BLUE.
The closest web safe color of #ba21ec is #cc33ff
#ba21ec hex color has a decimal value of 12198380.
HEX | ba21ec | #ba21ec |
---|---|---|
RGB | 186, 33, 236 | rgb(186, 33, 236) |
RGB Percent | 72.94, 12.94, 92.55 | rgb(72.94, 12.94, 92.55) |
CMYK | 21, 86, 0, 7 | |
HSL | 285.2°, 84.23, 52.7 | hsl(285.2, 84.23%, 52.7%) |
HSV | 285.2°, 86, 92.5 |
XYZ | 35.934, 17.583, 80.857 |
---|---|
Hunter Lab | 41.932, 79.586, -84.976 |
CIE-LAB | 48.986, 81.429, -69.067 |
CIE-LCH | 48.986, 106.775, 319.696 |
CIE-LUV | 21.19, 86.02, 0, 7.45 |
Web Safe | cc33ff |
RGB percent of color #ba21ec
CMYK percent of color #ba21ec
Text with hexadecimal color #ba21ec
This text has a font color of #ba21ec
<p style="color:#ba21ec">Text here</p>
#ba21ec Background Color
This box has a background color of #ba21ec
<div style="background-color:#ba21ec">Text here</div>
#ba21ec Border Color
This box has a border color of #ba21ec
<div style="border: 4px solid #ba21ec">Text here</div>
CSS codes
<p style="color:#ba21ec">Text here</p>
<div style="background-color:#ba21ec">Text here</div>
<div style="border: 4px solid #ba21ec">Text here</div>
#ba21ec Color on white background
This is how a font and box color of #ba21ec will look
on a white background.
#ba21ec Color on black background
This is how a font and box color of #ba21ec hex color will look
on a black background.