Color spaces of #cc158d
RGB | 204 | 21 | 141 |
---|---|---|---|
HSL | 0.89 | 0.81 | 0.44 |
HSV | 321° | 90° | 80° |
CMYK | 0.00 | 0.90 | 0.31 0.20 |
XYZ | 29.9777 | 15.2968 | 26.5719 |
Yxy | 15.2968 | 0.4172 | 0.2129 |
Hunter Lab | 39.1111 | 68.3713 | -12.9035 |
CIE-Lab | 46.0381 | 72.9427 | -18.0208 |
#cc158d color RGB value is (204,21,141).
#cc158d hex color red value is 204, green value is 21 and the blue value of its RGB is 141. Cylindrical-coordinate representations (also known as HSL) of color #cc158d hue: 0.89 , saturation: 0.81 and the lightness value of cc158d is 0.44.
The process color (four color CMYK) of #cc158d color hex is 0.00, 0.90, 0.31, 0.20. Web safe color of #cc158d is #cc0099. Color #cc158d contains mainly RED color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 11001100 | 00010101 | 10001101 |
Octal | 314 | 25 | 215 |
Decimal | 204 | 21 | 141 |
Hex | CC | 15 | 8D |
Shades of #cc158d
Tints of #cc158d
RGB Percentages of Color #cc158d
CMYK Percentages of Color #cc158d
Complementary Color
#cc158d | #15cc54 |
#cc158d Color Preview on Black Background
Lorem ipsum dolor sit amet.
#cc158d Color Preview on White Background
Lorem ipsum dolor sit amet.
#cc158d Color CSS Codes
.mybgcolor {background-color:#cc158d; } .myforecolor {color:#cc158d; } .mybordercolor {border:3px solid #cc158d; }
#cc158d Text Font Color
<p style="color:#cc158d">Text here</p>
This sample text font color is #cc158d
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.
#cc158d Background Color
<div style="background-color:#cc158d">
Div content here</div>
This div background color is #cc158d
#cc158d Border Color
<div style="border:3px solid #cc158d">
Div here</div>
This div border color is #cc158d
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(204,21,141, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #cc158d; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #cc158d; -webkit-box-shadow: 1px 1px 3px 2px #cc158d; box-shadow: 1px 1px 3px 2px #cc158d; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(204,21,141, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #cc158d">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #cc158d; -webkit-box-shadow: 1px 1px 3px 2px #cc158d; box-shadow: 1px 1px 3px 2px #cc158d;">
Div content here</div>
This div box has shadow with color #cc158d
Comments
No comments written yet.
Please login to write comment.