Color spaces of #402f9d
RGB | 64 | 47 | 157 |
---|---|---|---|
HSL | 0.69 | 0.54 | 0.40 |
HSV | 249° | 70° | 62° |
CMYK | 0.59 | 0.70 | 0.00 0.38 |
XYZ | 9.2167 | 5.5573 | 32.4852 |
Yxy | 5.5573 | 0.1950 | 0.1176 |
Hunter Lab | 23.5739 | 28.5338 | -65.2007 |
CIE-Lab | 28.2669 | 38.9056 | -57.3184 |
#402f9d color RGB value is (64,47,157).
#402f9d hex color red value is 64, green value is 47 and the blue value of its RGB is 157. Cylindrical-coordinate representations (also known as HSL) of color #402f9d hue: 0.69 , saturation: 0.54 and the lightness value of 402f9d is 0.40.
The process color (four color CMYK) of #402f9d color hex is 0.59, 0.70, 0.00, 0.38. Web safe color of #402f9d is #333399. Color #402f9d contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 01000000 | 00101111 | 10011101 |
Octal | 100 | 57 | 235 |
Decimal | 64 | 47 | 157 |
Hex | 40 | 2F | 9D |
Shades of #402f9d
Tints of #402f9d
RGB Percentages of Color #402f9d
CMYK Percentages of Color #402f9d
Complementary Color
#402f9d | #8c9d2f |
#402f9d Color Preview on Black Background
Lorem ipsum dolor sit amet.
#402f9d Color Preview on White Background
Lorem ipsum dolor sit amet.
#402f9d Color CSS Codes
.mybgcolor {background-color:#402f9d; } .myforecolor {color:#402f9d; } .mybordercolor {border:3px solid #402f9d; }
#402f9d Text Font Color
<p style="color:#402f9d">Text here</p>
This sample text font color is #402f9d
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.
#402f9d Background Color
<div style="background-color:#402f9d">
Div content here</div>
This div background color is #402f9d
#402f9d Border Color
<div style="border:3px solid #402f9d">
Div here</div>
This div border color is #402f9d
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(64,47,157, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #402f9d; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #402f9d; -webkit-box-shadow: 1px 1px 3px 2px #402f9d; box-shadow: 1px 1px 3px 2px #402f9d; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(64,47,157, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #402f9d">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #402f9d; -webkit-box-shadow: 1px 1px 3px 2px #402f9d; box-shadow: 1px 1px 3px 2px #402f9d;">
Div content here</div>
This div box has shadow with color #402f9d
Comments
No comments written yet.
Please login to write comment.