Color spaces of #840498
RGB | 132 | 4 | 152 |
---|---|---|---|
HSL | 0.81 | 0.95 | 0.31 |
HSV | 292° | 97° | 60° |
CMYK | 0.13 | 0.97 | 0.00 0.40 |
XYZ | 15.2266 | 7.2594 | 30.3044 |
Yxy | 7.2594 | 0.2884 | 0.1375 |
Hunter Lab | 26.9433 | 53.7260 | -47.8260 |
CIE-Lab | 32.3903 | 62.9764 | -47.1490 |
#840498 color RGB value is (132,4,152).
#840498 hex color red value is 132, green value is 4 and the blue value of its RGB is 152. Cylindrical-coordinate representations (also known as HSL) of color #840498 hue: 0.81 , saturation: 0.95 and the lightness value of 840498 is 0.31.
The process color (four color CMYK) of #840498 color hex is 0.13, 0.97, 0.00, 0.40. Web safe color of #840498 is #990099. Color #840498 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 10000100 | 00000100 | 10011000 |
Octal | 204 | 4 | 230 |
Decimal | 132 | 4 | 152 |
Hex | 84 | 4 | 98 |
Shades of #840498
Tints of #840498
RGB Percentages of Color #840498
CMYK Percentages of Color #840498
Complementary Color
#840498 | #189804 |
#840498 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#840498 Color Preview on White Background
Lorem ipsum dolor sit amet.
#840498 Color CSS Codes
.mybgcolor {background-color:#840498; } .myforecolor {color:#840498; } .mybordercolor {border:3px solid #840498; }
#840498 Text Font Color
<p style="color:#840498">Text here</p>
This sample text font color is #840498
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.
#840498 Background Color
<div style="background-color:#840498">
Div content here</div>
This div background color is #840498
#840498 Border Color
<div style="border:3px solid #840498">
Div here</div>
This div border color is #840498
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(132,4,152, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #840498; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #840498; -webkit-box-shadow: 1px 1px 3px 2px #840498; box-shadow: 1px 1px 3px 2px #840498; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(132,4,152, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #840498">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #840498; -webkit-box-shadow: 1px 1px 3px 2px #840498; box-shadow: 1px 1px 3px 2px #840498;">
Div content here</div>
This div box has shadow with color #840498
Comments
No comments written yet.
Please login to write comment.