In RGB color space, #786af2 hex color has a red value of 120, a green value of 106 and a blue value of 242.
In CMYK color space (used in color printing), #786af2 hex color is composed of 50.41% cyan, 56.2% magenta, 0% yellow and 5.1% black.
#786af2 color has a hue of 246.2 degrees, a saturation of 83.95% and a lightness of 68.2%.
#786af2 hex color contains mainly BLUE.
The closest web safe color of #786af2 is #6666ff
#786af2 hex color has a decimal value of 7891698.
HEX | 786af2 | #786af2 |
---|---|---|
RGB | 120, 106, 242 | rgb(120, 106, 242) |
RGB Percent | 47.06, 41.57, 94.9 | rgb(47.06, 41.57, 94.9) |
CMYK | 50, 56, 0, 5 | |
HSL | 246.2°, 83.95, 68.2 | hsl(246.2, 83.95%, 68.2%) |
HSV | 246.2°, 56.2, 94.9 |
XYZ | 28.927, 20.712, 86.478 |
---|---|
Hunter Lab | 45.51, 33.814, -80.804 |
CIE-LAB | 52.633, 40.493, -66.884 |
CIE-LCH | 52.633, 78.187, 301.192 |
CIE-LUV | 50.41, 56.2, 0, 5.1 |
Web Safe | 6666ff |
RGB percent of color #786af2
CMYK percent of color #786af2
Text with hexadecimal color #786af2
This text has a font color of #786af2
<p style="color:#786af2">Text here</p>
#786af2 Background Color
This box has a background color of #786af2
<div style="background-color:#786af2">Text here</div>
#786af2 Border Color
This box has a border color of #786af2
<div style="border: 4px solid #786af2">Text here</div>
CSS codes
<p style="color:#786af2">Text here</p>
<div style="background-color:#786af2">Text here</div>
<div style="border: 4px solid #786af2">Text here</div>
#786af2 Color on white background
This is how a font and box color of #786af2 will look
on a white background.
#786af2 Color on black background
This is how a font and box color of #786af2 hex color will look
on a black background.