Color spaces of #5138ab
RGB | 81 | 56 | 171 |
---|---|---|---|
HSL | 0.70 | 0.51 | 0.45 |
HSV | 253° | 67° | 67° |
CMYK | 0.53 | 0.67 | 0.00 0.33 |
XYZ | 12.1582 | 7.5180 | 39.3384 |
Yxy | 7.5180 | 0.2060 | 0.1274 |
Hunter Lab | 27.4190 | 31.1678 | -65.8710 |
CIE-Lab | 32.9582 | 40.9035 | -58.0349 |
#5138ab color RGB value is (81,56,171).
#5138ab hex color red value is 81, green value is 56 and the blue value of its RGB is 171. Cylindrical-coordinate representations (also known as HSL) of color #5138ab hue: 0.70 , saturation: 0.51 and the lightness value of 5138ab is 0.45.
The process color (four color CMYK) of #5138ab color hex is 0.53, 0.67, 0.00, 0.33. Web safe color of #5138ab is #663399. Color #5138ab contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 01010001 | 00111000 | 10101011 |
Octal | 121 | 70 | 253 |
Decimal | 81 | 56 | 171 |
Hex | 51 | 38 | AB |
Shades of #5138ab
Tints of #5138ab
RGB Percentages of Color #5138ab
CMYK Percentages of Color #5138ab
Complementary Color
#5138ab | #92ab38 |
#5138ab Color Preview on Black Background
Lorem ipsum dolor sit amet.
#5138ab Color Preview on White Background
Lorem ipsum dolor sit amet.
#5138ab Color CSS Codes
.mybgcolor {background-color:#5138ab; } .myforecolor {color:#5138ab; } .mybordercolor {border:3px solid #5138ab; }
#5138ab Text Font Color
<p style="color:#5138ab">Text here</p>
This sample text font color is #5138ab
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.
#5138ab Background Color
<div style="background-color:#5138ab">
Div content here</div>
This div background color is #5138ab
#5138ab Border Color
<div style="border:3px solid #5138ab">
Div here</div>
This div border color is #5138ab
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(81,56,171, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #5138ab; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5138ab; -webkit-box-shadow: 1px 1px 3px 2px #5138ab; box-shadow: 1px 1px 3px 2px #5138ab; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(81,56,171, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #5138ab">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #5138ab; -webkit-box-shadow: 1px 1px 3px 2px #5138ab; box-shadow: 1px 1px 3px 2px #5138ab;">
Div content here</div>
This div box has shadow with color #5138ab
Comments
No comments written yet.
Please login to write comment.