Color spaces of #840ad4
RGB | 132 | 10 | 212 |
---|---|---|---|
HSL | 0.77 | 0.91 | 0.44 |
HSV | 276° | 95° | 83° |
CMYK | 0.38 | 0.95 | 0.00 0.17 |
XYZ | 21.5079 | 9.8761 | 63.0600 |
Yxy | 9.8761 | 0.2277 | 0.1046 |
Hunter Lab | 31.4263 | 67.1681 | -96.9730 |
CIE-Lab | 37.6191 | 73.5719 | -74.2631 |
#840ad4 color RGB value is (132,10,212).
#840ad4 hex color red value is 132, green value is 10 and the blue value of its RGB is 212. Cylindrical-coordinate representations (also known as HSL) of color #840ad4 hue: 0.77 , saturation: 0.91 and the lightness value of 840ad4 is 0.44.
The process color (four color CMYK) of #840ad4 color hex is 0.38, 0.95, 0.00, 0.17. Web safe color of #840ad4 is #9900cc. Color #840ad4 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 10000100 | 00001010 | 11010100 |
Octal | 204 | 12 | 324 |
Decimal | 132 | 10 | 212 |
Hex | 84 | A | D4 |
Shades of #840ad4
Tints of #840ad4
RGB Percentages of Color #840ad4
CMYK Percentages of Color #840ad4
Complementary Color
#840ad4 | #5ad40a |
#840ad4 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#840ad4 Color Preview on White Background
Lorem ipsum dolor sit amet.
#840ad4 Color CSS Codes
.mybgcolor {background-color:#840ad4; } .myforecolor {color:#840ad4; } .mybordercolor {border:3px solid #840ad4; }
#840ad4 Text Font Color
<p style="color:#840ad4">Text here</p>
This sample text font color is #840ad4
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.
#840ad4 Background Color
<div style="background-color:#840ad4">
Div content here</div>
This div background color is #840ad4
#840ad4 Border Color
<div style="border:3px solid #840ad4">
Div here</div>
This div border color is #840ad4
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(132,10,212, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #840ad4; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #840ad4; -webkit-box-shadow: 1px 1px 3px 2px #840ad4; box-shadow: 1px 1px 3px 2px #840ad4; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(132,10,212, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #840ad4">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #840ad4; -webkit-box-shadow: 1px 1px 3px 2px #840ad4; box-shadow: 1px 1px 3px 2px #840ad4;">
Div content here</div>
This div box has shadow with color #840ad4
Comments
No comments written yet.
Please login to write comment.