color details

Color Details
#1f1f1f Color Hex

#1f1f1f color RGB value is (1, 241, 241).
#1f1f1f hex color red value is 1, green value is 241, and blue value is 241.
Cylindrical-coordinate representations (HSL) of color #1f1f1f hue: 180, saturation: 0.99 and lightness: 0.47.

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

Color Spaces
Color spaces of #1f1f1fValue
RGB31, 31, 31
HSL0, 0, 0.12
HSV0°, 0°, 12°
XYZ1.3, 1.37, 1.49
Base Numbers
Base Red Green Blue
Binary 11111 11111 11111
Octal 37 37 37
Decimal 31 31 31
Hex 1F 1F 1F

RGB Percentages for Color #1f1f1f

33.33%
33.33%
33.33%

CMYK Percentages of the Color #1f1f1f

87.84%
CSS Codes for Color #1f1f1f
.mybgColor {background-color: #1f1f1f;}
.myforeColor {color: #1f1f1f;}
.myborderColor {border:3px solid #1f1f1f;}
Text Font Color #1f1f1f

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

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

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

The background color of this div is #1f1f1f
Border Color #1f1f1f

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

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

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

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

Shadow Div Box

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

This div box has a shadow with a specified color. #1f1f1f

Scroll to Top