Color spaces of #402e81
RGB | 64 | 46 | 129 |
---|---|---|---|
HSL | 0.70 | 0.47 | 0.34 |
HSV | 253° | 64° | 51° |
CMYK | 0.50 | 0.64 | 0.00 0.49 |
XYZ | 7.0538 | 4.6290 | 21.2906 |
Yxy | 4.6290 | 0.2139 | 0.1404 |
Hunter Lab | 21.5151 | 20.8704 | -43.6107 |
CIE-Lab | 25.6505 | 30.5907 | -44.2728 |
#402e81 color RGB value is (64,46,129).
#402e81 hex color red value is 64, green value is 46 and the blue value of its RGB is 129. Cylindrical-coordinate representations (also known as HSL) of color #402e81 hue: 0.70 , saturation: 0.47 and the lightness value of 402e81 is 0.34.
The process color (four color CMYK) of #402e81 color hex is 0.50, 0.64, 0.00, 0.49. Web safe color of #402e81 is #333399. Color #402e81 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 01000000 | 00101110 | 10000001 |
Octal | 100 | 56 | 201 |
Decimal | 64 | 46 | 129 |
Hex | 40 | 2E | 81 |
Shades of #402e81
Tints of #402e81
RGB Percentages of Color #402e81
CMYK Percentages of Color #402e81
Complementary Color
#402e81 | #6f812e |
#402e81 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#402e81 Color Preview on White Background
Lorem ipsum dolor sit amet.
#402e81 Color CSS Codes
.mybgcolor {background-color:#402e81; } .myforecolor {color:#402e81; } .mybordercolor {border:3px solid #402e81; }
#402e81 Text Font Color
<p style="color:#402e81">Text here</p>
This sample text font color is #402e81
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.
#402e81 Background Color
<div style="background-color:#402e81">
Div content here</div>
This div background color is #402e81
#402e81 Border Color
<div style="border:3px solid #402e81">
Div here</div>
This div border color is #402e81
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(64,46,129, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #402e81; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #402e81; -webkit-box-shadow: 1px 1px 3px 2px #402e81; box-shadow: 1px 1px 3px 2px #402e81; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(64,46,129, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #402e81">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #402e81; -webkit-box-shadow: 1px 1px 3px 2px #402e81; box-shadow: 1px 1px 3px 2px #402e81;">
Div content here</div>
This div box has shadow with color #402e81
Comments
No comments written yet.
Please login to write comment.