Color spaces of #402d97
RGB | 64 | 45 | 151 |
---|---|---|---|
HSL | 0.70 | 0.54 | 0.38 |
HSV | 251° | 70° | 59° |
CMYK | 0.58 | 0.70 | 0.00 0.41 |
XYZ | 8.6387 | 5.2011 | 29.8268 |
Yxy | 5.2011 | 0.1978 | 0.1191 |
Hunter Lab | 22.8059 | 27.7040 | -61.5785 |
CIE-Lab | 27.3002 | 38.1666 | -55.2355 |
#402d97 color RGB value is (64,45,151).
#402d97 hex color red value is 64, green value is 45 and the blue value of its RGB is 151. Cylindrical-coordinate representations (also known as HSL) of color #402d97 hue: 0.70 , saturation: 0.54 and the lightness value of 402d97 is 0.38.
The process color (four color CMYK) of #402d97 color hex is 0.58, 0.70, 0.00, 0.41. Web safe color of #402d97 is #333399. Color #402d97 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 01000000 | 00101101 | 10010111 |
Octal | 100 | 55 | 227 |
Decimal | 64 | 45 | 151 |
Hex | 40 | 2D | 97 |
Shades of #402d97
Tints of #402d97
RGB Percentages of Color #402d97
CMYK Percentages of Color #402d97
Complementary Color
#402d97 | #84972d |
#402d97 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#402d97 Color Preview on White Background
Lorem ipsum dolor sit amet.
#402d97 Color CSS Codes
.mybgcolor {background-color:#402d97; } .myforecolor {color:#402d97; } .mybordercolor {border:3px solid #402d97; }
#402d97 Text Font Color
<p style="color:#402d97">Text here</p>
This sample text font color is #402d97
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.
#402d97 Background Color
<div style="background-color:#402d97">
Div content here</div>
This div background color is #402d97
#402d97 Border Color
<div style="border:3px solid #402d97">
Div here</div>
This div border color is #402d97
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(64,45,151, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #402d97; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #402d97; -webkit-box-shadow: 1px 1px 3px 2px #402d97; box-shadow: 1px 1px 3px 2px #402d97; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(64,45,151, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #402d97">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #402d97; -webkit-box-shadow: 1px 1px 3px 2px #402d97; box-shadow: 1px 1px 3px 2px #402d97;">
Div content here</div>
This div box has shadow with color #402d97
Comments
No comments written yet.
Please login to write comment.