color details

Color Details
#151228 Color Hex

#151228 color RGB value is (1, 81, 34).
#151228 hex color red value is 1, green value is 81, and blue value is 34.
Cylindrical-coordinate representations (HSL) of color #151228 hue: 144.75, saturation: 0.98 and lightness: 0.16.

The process color (four-color CMYK) of #151228 color hex is 0.00, 0.28, 0.40, 0.03. Web safe color of #151228 is #ff9999. Color #151228 contains mainly RED.

Color Spaces
Color spaces of #151228Value
RGB21, 18, 40
HSL0.69, 0.38, 0.11
HSV248°, 55°, 16°
XYZ0.91, 0.75, 2.1
Base Numbers
Base Red Green Blue
Binary 10101 10010 101000
Octal 25 22 50
Decimal 21 18 40
Hex 15 12 28

RGB Percentages for Color #151228

26.58%
22.78%
50.63%

CMYK Percentages of the Color #151228

47.5%
55%
84.31%
CSS Codes for Color #151228
.mybgColor {background-color: #151228;}
.myforeColor {color: #151228;}
.myborderColor {border:3px solid #151228;}
Text Font Color #151228

<p style="color:#151228">Text here</p>

This sample text is styled with the font color #151228. 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,

Background Color #151228

<div style="background-color:#151228">Div content here</div>

The background color of this div is #151228
Border Color #151228

<div style="border:3px solid #151228">Div here</div>

The border color of this div is #151228
Css3 Examples
            .textShadowRgb {
                text-shadow: 4px 4px 2px rgba(21, 18, 40, 0.8);            }
            .textShadowHex {
                text-shadow: 4px 4px 2px #151228;            }
            .divShadow {
                -moz-box-shadow: 1px 1px 3px #151228;
-webkit-box-shadow: 1px 1px 3px #151228;
box-shadow: 1px 1px 3px #151228;            }
            
Text Shadow Using RGB Values

<p style="text-shadow: 4px 4px 2px rgba(21, 18, 40, 0.8);">Text here</p>

This text has a shadow with RGB values.

Text Shadow Using Hex Values

<p style="text-shadow: 4px 4px 2px #151228;">Text here</p>

This text has a shadow with hexadecimal (hex) values.

Shadow Div Box

<div style="-moz-box-shadow: 1px 1px 3px #151228; -webkit-box-shadow: 1px 1px 3px #151228; box-shadow: 1px 1px 3px #151228;">Div content here</div>

This div box has a shadow with a specified color. #151228

Scroll to Top