Color spaces of #5a1197
RGB | 90 | 17 | 151 |
---|---|---|---|
HSL | 0.76 | 0.80 | 0.33 |
HSV | 273° | 89° | 59° |
CMYK | 0.40 | 0.89 | 0.00 0.41 |
XYZ | 10.0028 | 4.8089 | 29.6792 |
Yxy | 4.8089 | 0.2248 | 0.1081 |
Hunter Lab | 21.9292 | 43.0450 | -64.8932 |
CIE-Lab | 26.1832 | 54.2404 | -56.9466 |
#5a1197 color RGB value is (90,17,151).
#5a1197 hex color red value is 90, green value is 17 and the blue value of its RGB is 151. Cylindrical-coordinate representations (also known as HSL) of color #5a1197 hue: 0.76 , saturation: 0.80 and the lightness value of 5a1197 is 0.33.
The process color (four color CMYK) of #5a1197 color hex is 0.40, 0.89, 0.00, 0.41. Web safe color of #5a1197 is #660099. Color #5a1197 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 01011010 | 00010001 | 10010111 |
Octal | 132 | 21 | 227 |
Decimal | 90 | 17 | 151 |
Hex | 5A | 11 | 97 |
Shades of #5a1197
Tints of #5a1197
RGB Percentages of Color #5a1197
CMYK Percentages of Color #5a1197
Complementary Color
#5a1197 | #4e9711 |
#5a1197 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#5a1197 Color Preview on White Background
Lorem ipsum dolor sit amet.
#5a1197 Color CSS Codes
.mybgcolor {background-color:#5a1197; } .myforecolor {color:#5a1197; } .mybordercolor {border:3px solid #5a1197; }
#5a1197 Text Font Color
<p style="color:#5a1197">Text here</p>
This sample text font color is #5a1197
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.
#5a1197 Background Color
<div style="background-color:#5a1197">
Div content here</div>
This div background color is #5a1197
#5a1197 Border Color
<div style="border:3px solid #5a1197">
Div here</div>
This div border color is #5a1197
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(90,17,151, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #5a1197; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5a1197; -webkit-box-shadow: 1px 1px 3px 2px #5a1197; box-shadow: 1px 1px 3px 2px #5a1197; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(90,17,151, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #5a1197">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #5a1197; -webkit-box-shadow: 1px 1px 3px 2px #5a1197; box-shadow: 1px 1px 3px 2px #5a1197;">
Div content here</div>
This div box has shadow with color #5a1197
Comments
No comments written yet.
Please login to write comment.