#402852 color RGB value is (4, 2, 133).
#402852 hex color red value is 4, green value is 2, and blue value is 133.
Cylindrical-coordinate representations (HSL) of color #402852
hue: 240.92,
saturation: 0.97 and lightness: 0.26.
The process color (four-color CMYK) of #402852 color hex is 0.00, 0.28, 0.40, 0.03. Web safe color of #402852 is #ff9999. Color #402852 contains mainly RED.
| Color spaces of #402852 | Value |
|---|---|
| RGB | 64, 40, 82 |
| HSL | 0.76, 0.34, 0.24 |
| HSV | 274°, 51°, 32° |
| XYZ | 4.4, 3.22, 8.37 |
| Base | Red | Green | Blue |
|---|---|---|---|
| Binary | 1000000 | 101000 | 1010010 |
| Octal | 100 | 50 | 122 |
| Decimal | 64 | 40 | 82 |
| Hex | 40 | 28 | 52 |
Shades of #402852
Tints of #402852
.mybgColor {background-color: #402852;}
.myforeColor {color: #402852;}
.myborderColor {border:3px solid #402852;}
<p style="color:#402852">Text here</p>
This sample text is styled with the font color #402852. It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here,
<div style="background-color:#402852">Div content here</div>
<div style="border:3px solid #402852">Div here</div>
.textShadowRgb {
text-shadow: 4px 4px 2px rgba(64, 40, 82, 0.8); }
.textShadowHex {
text-shadow: 4px 4px 2px #402852; }
.divShadow {
-moz-box-shadow: 1px 1px 3px #402852;
-webkit-box-shadow: 1px 1px 3px #402852;
box-shadow: 1px 1px 3px #402852; }
<p style="text-shadow: 4px 4px 2px rgba(64, 40, 82, 0.8);">Text here</p>
This text has a shadow with RGB values.
<p style="text-shadow: 4px 4px 2px #402852;">Text here</p>
This text has a shadow with hexadecimal (hex) values.
<div style="-moz-box-shadow: 1px 1px 3px #402852;
-webkit-box-shadow: 1px 1px 3px #402852;
box-shadow: 1px 1px 3px #402852;">Div content here</div>
