color details

Color Details
#121220 Color Hex

#121220 color RGB value is (1, 33, 34).
#121220 hex color red value is 1, green value is 33, and blue value is 34.
Cylindrical-coordinate representations (HSL) of color #121220 hue: 181.82, saturation: 0.94 and lightness: 0.07.

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

Color Spaces
Color spaces of #121220Value
RGB18, 18, 32
HSL0.67, 0.28, 0.1
HSV240°, 44°, 13°
XYZ0.73, 0.67, 1.46
Base Numbers
Base Red Green Blue
Binary 10010 10010 100000
Octal 22 22 40
Decimal 18 18 32
Hex 12 12 20

RGB Percentages for Color #121220

26.47%
26.47%
47.06%

CMYK Percentages of the Color #121220

43.75%
43.75%
87.45%
CSS Codes for Color #121220
.mybgColor {background-color: #121220;}
.myforeColor {color: #121220;}
.myborderColor {border:3px solid #121220;}
Text Font Color #121220

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

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

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

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

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

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

<p style="text-shadow: 4px 4px 2px rgba(18, 18, 32, 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 #121220;">Text here</p>

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

Shadow Div Box

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

This div box has a shadow with a specified color. #121220
Scroll to Top