Color spaces of #d8152a
RGB | 216 | 21 | 42 |
---|---|---|---|
HSL | 0.98 | 0.82 | 0.46 |
HSV | 354° | 90° | 85° |
CMYK | 0.00 | 0.90 | 0.81 0.15 |
XYZ | 29.0050 | 15.3024 | 3.6154 |
Yxy | 15.3024 | 0.6052 | 0.3193 |
Hunter Lab | 39.1183 | 63.8953 | 21.9031 |
CIE-Lab | 46.0456 | 69.1883 | 42.6923 |
#d8152a color RGB value is (216,21,42).
#d8152a hex color red value is 216, green value is 21 and the blue value of its RGB is 42. Cylindrical-coordinate representations (also known as HSL) of color #d8152a hue: 0.98 , saturation: 0.82 and the lightness value of d8152a is 0.46.
The process color (four color CMYK) of #d8152a color hex is 0.00, 0.90, 0.81, 0.15. Web safe color of #d8152a is #cc0033. Color #d8152a contains mainly RED color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 11011000 | 00010101 | 00101010 |
Octal | 330 | 25 | 52 |
Decimal | 216 | 21 | 42 |
Hex | D8 | 15 | 2A |
Shades of #d8152a
Tints of #d8152a
RGB Percentages of Color #d8152a
CMYK Percentages of Color #d8152a
Complementary Color
#d8152a | #15d8c3 |
#d8152a Color Preview on Black Background
Lorem ipsum dolor sit amet.
#d8152a Color Preview on White Background
Lorem ipsum dolor sit amet.
#d8152a Color CSS Codes
.mybgcolor {background-color:#d8152a; } .myforecolor {color:#d8152a; } .mybordercolor {border:3px solid #d8152a; }
#d8152a Text Font Color
<p style="color:#d8152a">Text here</p>
This sample text font color is #d8152a
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.
#d8152a Background Color
<div style="background-color:#d8152a">
Div content here</div>
This div background color is #d8152a
#d8152a Border Color
<div style="border:3px solid #d8152a">
Div here</div>
This div border color is #d8152a
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(216,21,42, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #d8152a; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #d8152a; -webkit-box-shadow: 1px 1px 3px 2px #d8152a; box-shadow: 1px 1px 3px 2px #d8152a; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(216,21,42, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #d8152a">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #d8152a; -webkit-box-shadow: 1px 1px 3px 2px #d8152a; box-shadow: 1px 1px 3px 2px #d8152a;">
Div content here</div>
This div box has shadow with color #d8152a
Comments
No comments written yet.
Please login to write comment.