Color spaces of #a2158f
RGB | 162 | 21 | 143 |
---|---|---|---|
HSL | 0.86 | 0.77 | 0.36 |
HSV | 308° | 87° | 64° |
CMYK | 0.00 | 0.87 | 0.12 0.36 |
XYZ | 20.1264 | 10.2009 | 26.8948 |
Yxy | 10.2009 | 0.3517 | 0.1783 |
Hunter Lab | 31.9388 | 56.5895 | -27.5692 |
CIE-Lab | 38.2006 | 64.3970 | -32.0379 |
#a2158f color RGB value is (162,21,143).
#a2158f hex color red value is 162, green value is 21 and the blue value of its RGB is 143. Cylindrical-coordinate representations (also known as HSL) of color #a2158f hue: 0.86 , saturation: 0.77 and the lightness value of a2158f is 0.36.
The process color (four color CMYK) of #a2158f color hex is 0.00, 0.87, 0.12, 0.36. Web safe color of #a2158f is #990099. Color #a2158f contains mainly RED color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 10100010 | 00010101 | 10001111 |
Octal | 242 | 25 | 217 |
Decimal | 162 | 21 | 143 |
Hex | A2 | 15 | 8F |
Shades of #a2158f
Tints of #a2158f
RGB Percentages of Color #a2158f
CMYK Percentages of Color #a2158f
Complementary Color
#a2158f | #15a228 |
#a2158f Color Preview on Black Background
Lorem ipsum dolor sit amet.
#a2158f Color Preview on White Background
Lorem ipsum dolor sit amet.
#a2158f Color CSS Codes
.mybgcolor {background-color:#a2158f; } .myforecolor {color:#a2158f; } .mybordercolor {border:3px solid #a2158f; }
#a2158f Text Font Color
<p style="color:#a2158f">Text here</p>
This sample text font color is #a2158f
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
#a2158f Background Color
<div style="background-color:#a2158f">
Div content here</div>
This div background color is #a2158f
#a2158f Border Color
<div style="border:3px solid #a2158f">
Div here</div>
This div border color is #a2158f
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(162,21,143, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #a2158f; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #a2158f; -webkit-box-shadow: 1px 1px 3px 2px #a2158f; box-shadow: 1px 1px 3px 2px #a2158f; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(162,21,143, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #a2158f">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #a2158f; -webkit-box-shadow: 1px 1px 3px 2px #a2158f; box-shadow: 1px 1px 3px 2px #a2158f;">
Div content here</div>
This div box has shadow with color #a2158f
Comments
No comments written yet.
Please login to write comment.