Color spaces of #402f8b
RGB | 64 | 47 | 139 |
---|---|---|---|
HSL | 0.70 | 0.49 | 0.36 |
HSV | 251° | 66° | 55° |
CMYK | 0.54 | 0.66 | 0.00 0.45 |
XYZ | 7.7911 | 4.9871 | 24.9781 |
Yxy | 4.9871 | 0.2064 | 0.1321 |
Hunter Lab | 22.3318 | 23.1942 | -50.6835 |
CIE-Lab | 26.6980 | 33.1555 | -48.8152 |
#402f8b color RGB value is (64,47,139).
#402f8b hex color red value is 64, green value is 47 and the blue value of its RGB is 139. Cylindrical-coordinate representations (also known as HSL) of color #402f8b hue: 0.70 , saturation: 0.49 and the lightness value of 402f8b is 0.36.
The process color (four color CMYK) of #402f8b color hex is 0.54, 0.66, 0.00, 0.45. Web safe color of #402f8b is #333399. Color #402f8b contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 01000000 | 00101111 | 10001011 |
Octal | 100 | 57 | 213 |
Decimal | 64 | 47 | 139 |
Hex | 40 | 2F | 8B |
Shades of #402f8b
Tints of #402f8b
RGB Percentages of Color #402f8b
CMYK Percentages of Color #402f8b
Complementary Color
#402f8b | #7a8b2f |
#402f8b Color Preview on Black Background
Lorem ipsum dolor sit amet.
#402f8b Color Preview on White Background
Lorem ipsum dolor sit amet.
#402f8b Color CSS Codes
.mybgcolor {background-color:#402f8b; } .myforecolor {color:#402f8b; } .mybordercolor {border:3px solid #402f8b; }
#402f8b Text Font Color
<p style="color:#402f8b">Text here</p>
This sample text font color is #402f8b
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.
#402f8b Background Color
<div style="background-color:#402f8b">
Div content here</div>
This div background color is #402f8b
#402f8b Border Color
<div style="border:3px solid #402f8b">
Div here</div>
This div border color is #402f8b
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(64,47,139, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #402f8b; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #402f8b; -webkit-box-shadow: 1px 1px 3px 2px #402f8b; box-shadow: 1px 1px 3px 2px #402f8b; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(64,47,139, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #402f8b">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #402f8b; -webkit-box-shadow: 1px 1px 3px 2px #402f8b; box-shadow: 1px 1px 3px 2px #402f8b;">
Div content here</div>
This div box has shadow with color #402f8b
Comments
No comments written yet.
Please login to write comment.