color details

Color Details
#997a1f Color Hex

#997a1f color RGB value is (9, 151, 161).
#997a1f hex color red value is 9, green value is 151, and blue value is 161.
Cylindrical-coordinate representations (HSL) of color #997a1f hue: 183.95, saturation: 0.89 and lightness: 0.33.

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

Color Spaces
Color spaces of #997a1fValue
RGB153, 122, 31
HSL0.12, 0.66, 0.36
HSV45°, 80°, 60°
XYZ20.34, 20.79, 4.24
Base Numbers
Base Red Green Blue
Binary 10011001 1111010 11111
Octal 231 172 37
Decimal 153 122 31
Hex 99 7A 1F

RGB Percentages for Color #997a1f

50%
39.87%
10.13%

CMYK Percentages of the Color #997a1f

20.26%
79.74%
40%
CSS Codes for Color #997a1f
.mybgColor {background-color: #997a1f;}
.myforeColor {color: #997a1f;}
.myborderColor {border:3px solid #997a1f;}
Text Font Color #997a1f

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

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

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

The background color of this div is #997a1f
Border Color #997a1f

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

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

<p style="text-shadow: 4px 4px 2px rgba(153, 122, 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 #997a1f;">Text here</p>

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

Shadow Div Box

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

This div box has a shadow with a specified color. #997a1f

Scroll to Top