Color spaces of #402f8f
RGB | 64 | 47 | 143 |
---|---|---|---|
HSL | 0.70 | 0.51 | 0.37 |
HSV | 251° | 67° | 56° |
CMYK | 0.55 | 0.67 | 0.00 0.44 |
XYZ | 8.0888 | 5.1062 | 26.5459 |
Yxy | 5.1062 | 0.2035 | 0.1285 |
Hunter Lab | 22.5969 | 24.3514 | -53.8336 |
CIE-Lab | 27.0352 | 34.4338 | -50.7436 |
#402f8f color RGB value is (64,47,143).
#402f8f hex color red value is 64, green value is 47 and the blue value of its RGB is 143. Cylindrical-coordinate representations (also known as HSL) of color #402f8f hue: 0.70 , saturation: 0.51 and the lightness value of 402f8f is 0.37.
The process color (four color CMYK) of #402f8f color hex is 0.55, 0.67, 0.00, 0.44. Web safe color of #402f8f is #333399. Color #402f8f contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 01000000 | 00101111 | 10001111 |
Octal | 100 | 57 | 217 |
Decimal | 64 | 47 | 143 |
Hex | 40 | 2F | 8F |
Shades of #402f8f
Tints of #402f8f
RGB Percentages of Color #402f8f
CMYK Percentages of Color #402f8f
Complementary Color
#402f8f | #7e8f2f |
#402f8f Color Preview on Black Background
Lorem ipsum dolor sit amet.
#402f8f Color Preview on White Background
Lorem ipsum dolor sit amet.
#402f8f Color CSS Codes
.mybgcolor {background-color:#402f8f; } .myforecolor {color:#402f8f; } .mybordercolor {border:3px solid #402f8f; }
#402f8f Text Font Color
<p style="color:#402f8f">Text here</p>
This sample text font color is #402f8f
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
#402f8f Background Color
<div style="background-color:#402f8f">
Div content here</div>
This div background color is #402f8f
#402f8f Border Color
<div style="border:3px solid #402f8f">
Div here</div>
This div border color is #402f8f
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(64,47,143, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #402f8f; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #402f8f; -webkit-box-shadow: 1px 1px 3px 2px #402f8f; box-shadow: 1px 1px 3px 2px #402f8f; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(64,47,143, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #402f8f">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #402f8f; -webkit-box-shadow: 1px 1px 3px 2px #402f8f; box-shadow: 1px 1px 3px 2px #402f8f;">
Div content here</div>
This div box has shadow with color #402f8f
Comments
No comments written yet.
Please login to write comment.