Color spaces of #402768
RGB | 64 | 39 | 104 |
---|---|---|---|
HSL | 0.73 | 0.45 | 0.28 |
HSV | 263° | 63° | 41° |
CMYK | 0.38 | 0.63 | 0.00 0.59 |
XYZ | 5.3386 | 3.5405 | 13.4987 |
Yxy | 3.5405 | 0.2386 | 0.1582 |
Hunter Lab | 18.8162 | 17.7162 | -29.3631 |
CIE-Lab | 22.0902 | 27.3025 | -34.0530 |
#402768 color RGB value is (64,39,104).
#402768 hex color red value is 64, green value is 39 and the blue value of its RGB is 104. Cylindrical-coordinate representations (also known as HSL) of color #402768 hue: 0.73 , saturation: 0.45 and the lightness value of 402768 is 0.28.
The process color (four color CMYK) of #402768 color hex is 0.38, 0.63, 0.00, 0.59. Web safe color of #402768 is #333366. Color #402768 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 01000000 | 00100111 | 01101000 |
Octal | 100 | 47 | 150 |
Decimal | 64 | 39 | 104 |
Hex | 40 | 27 | 68 |
Shades of #402768
Tints of #402768
RGB Percentages of Color #402768
CMYK Percentages of Color #402768
Complementary Color
#402768 | #4f6827 |
#402768 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#402768 Color Preview on White Background
Lorem ipsum dolor sit amet.
#402768 Color CSS Codes
.mybgcolor {background-color:#402768; } .myforecolor {color:#402768; } .mybordercolor {border:3px solid #402768; }
#402768 Text Font Color
<p style="color:#402768">Text here</p>
This sample text font color is #402768
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.
#402768 Background Color
<div style="background-color:#402768">
Div content here</div>
This div background color is #402768
#402768 Border Color
<div style="border:3px solid #402768">
Div here</div>
This div border color is #402768
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(64,39,104, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #402768; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #402768; -webkit-box-shadow: 1px 1px 3px 2px #402768; box-shadow: 1px 1px 3px 2px #402768; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(64,39,104, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #402768">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #402768; -webkit-box-shadow: 1px 1px 3px 2px #402768; box-shadow: 1px 1px 3px 2px #402768;">
Div content here</div>
This div box has shadow with color #402768
Comments
No comments written yet.
Please login to write comment.