color details

Color Details
#a51a8b Color Hex

#a51a8b color RGB value is (10, 81, 168).
#a51a8b hex color red value is 10, green value is 81, and blue value is 168.
Cylindrical-coordinate representations (HSL) of color #a51a8b hue: 213.04, saturation: 0.89 and lightness: 0.35.

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

Color Spaces
Color spaces of #a51a8bValue
RGB165, 26, 139
HSL0.86, 0.73, 0.37
HSV311°, 84°, 65°
XYZ20.55, 10.6, 25.39
Base Numbers
Base Red Green Blue
Binary 10100101 11010 10001011
Octal 245 32 213
Decimal 165 26 139
Hex A5 1A 8B

RGB Percentages for Color #a51a8b

50%
7.88%
42.12%

CMYK Percentages of the Color #a51a8b

84.24%
15.76%
35.29%
CSS Codes for Color #a51a8b
.mybgColor {background-color: #a51a8b;}
.myforeColor {color: #a51a8b;}
.myborderColor {border:3px solid #a51a8b;}
Text Font Color #a51a8b

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

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

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

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

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

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

<p style="text-shadow: 4px 4px 2px rgba(165, 26, 139, 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 #a51a8b;">Text here</p>

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

Shadow Div Box

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

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

Scroll to Top