Color spaces of #a228dc
RGB | 162 | 40 | 220 |
---|---|---|---|
HSL | 0.78 | 0.72 | 0.51 |
HSV | 281° | 82° | 86° |
CMYK | 0.26 | 0.82 | 0.00 0.14 |
XYZ | 28.5774 | 14.3663 | 68.9769 |
Yxy | 14.3663 | 0.2553 | 0.1284 |
Hunter Lab | 37.9029 | 68.2524 | -81.3658 |
CIE-Lab | 44.7537 | 73.0944 | -67.0211 |
#a228dc color RGB value is (162,40,220).
#a228dc hex color red value is 162, green value is 40 and the blue value of its RGB is 220. Cylindrical-coordinate representations (also known as HSL) of color #a228dc hue: 0.78 , saturation: 0.72 and the lightness value of a228dc is 0.51.
The process color (four color CMYK) of #a228dc color hex is 0.26, 0.82, 0.00, 0.14. Web safe color of #a228dc is #9933cc. Color #a228dc contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 10100010 | 00101000 | 11011100 |
Octal | 242 | 50 | 334 |
Decimal | 162 | 40 | 220 |
Hex | A2 | 28 | DC |
Shades of #a228dc
Tints of #a228dc
RGB Percentages of Color #a228dc
CMYK Percentages of Color #a228dc
Complementary Color
#a228dc | #62dc28 |
#a228dc Color Preview on Black Background
Lorem ipsum dolor sit amet.
#a228dc Color Preview on White Background
Lorem ipsum dolor sit amet.
#a228dc Color CSS Codes
.mybgcolor {background-color:#a228dc; } .myforecolor {color:#a228dc; } .mybordercolor {border:3px solid #a228dc; }
#a228dc Text Font Color
<p style="color:#a228dc">Text here</p>
This sample text font color is #a228dc
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.
#a228dc Background Color
<div style="background-color:#a228dc">
Div content here</div>
This div background color is #a228dc
#a228dc Border Color
<div style="border:3px solid #a228dc">
Div here</div>
This div border color is #a228dc
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(162,40,220, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #a228dc; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #a228dc; -webkit-box-shadow: 1px 1px 3px 2px #a228dc; box-shadow: 1px 1px 3px 2px #a228dc; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(162,40,220, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #a228dc">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #a228dc; -webkit-box-shadow: 1px 1px 3px 2px #a228dc; box-shadow: 1px 1px 3px 2px #a228dc;">
Div content here</div>
This div box has shadow with color #a228dc
Comments
No comments written yet.
Please login to write comment.