Color spaces of #402ea5
RGB | 64 | 46 | 165 |
---|---|---|---|
HSL | 0.69 | 0.56 | 0.41 |
HSV | 249° | 72° | 65° |
CMYK | 0.61 | 0.72 | 0.00 0.35 |
XYZ | 9.8829 | 5.7606 | 36.1883 |
Yxy | 5.7606 | 0.1907 | 0.1111 |
Hunter Lab | 24.0012 | 31.4981 | -72.5946 |
CIE-Lab | 28.8003 | 42.0131 | -61.2952 |
#402ea5 color RGB value is (64,46,165).
#402ea5 hex color red value is 64, green value is 46 and the blue value of its RGB is 165. Cylindrical-coordinate representations (also known as HSL) of color #402ea5 hue: 0.69 , saturation: 0.56 and the lightness value of 402ea5 is 0.41.
The process color (four color CMYK) of #402ea5 color hex is 0.61, 0.72, 0.00, 0.35. Web safe color of #402ea5 is #333399. Color #402ea5 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 01000000 | 00101110 | 10100101 |
Octal | 100 | 56 | 245 |
Decimal | 64 | 46 | 165 |
Hex | 40 | 2E | A5 |
Shades of #402ea5
Tints of #402ea5
RGB Percentages of Color #402ea5
CMYK Percentages of Color #402ea5
Complementary Color
#402ea5 | #93a52e |
#402ea5 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#402ea5 Color Preview on White Background
Lorem ipsum dolor sit amet.
#402ea5 Color CSS Codes
.mybgcolor {background-color:#402ea5; } .myforecolor {color:#402ea5; } .mybordercolor {border:3px solid #402ea5; }
#402ea5 Text Font Color
<p style="color:#402ea5">Text here</p>
This sample text font color is #402ea5
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.
#402ea5 Background Color
<div style="background-color:#402ea5">
Div content here</div>
This div background color is #402ea5
#402ea5 Border Color
<div style="border:3px solid #402ea5">
Div here</div>
This div border color is #402ea5
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(64,46,165, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #402ea5; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #402ea5; -webkit-box-shadow: 1px 1px 3px 2px #402ea5; box-shadow: 1px 1px 3px 2px #402ea5; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(64,46,165, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #402ea5">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #402ea5; -webkit-box-shadow: 1px 1px 3px 2px #402ea5; box-shadow: 1px 1px 3px 2px #402ea5;">
Div content here</div>
This div box has shadow with color #402ea5
Comments
No comments written yet.
Please login to write comment.