Color spaces of #5f42ab
RGB | 95 | 66 | 171 |
---|---|---|---|
HSL | 0.71 | 0.44 | 0.46 |
HSV | 257° | 61° | 67° |
CMYK | 0.44 | 0.61 | 0.00 0.33 |
XYZ | 14.0182 | 9.2696 | 39.5784 |
Yxy | 9.2696 | 0.2230 | 0.1474 |
Hunter Lab | 30.4460 | 28.9059 | -55.7620 |
CIE-Lab | 36.4983 | 37.8871 | -52.2204 |
#5f42ab color RGB value is (95,66,171).
#5f42ab hex color red value is 95, green value is 66 and the blue value of its RGB is 171. Cylindrical-coordinate representations (also known as HSL) of color #5f42ab hue: 0.71 , saturation: 0.44 and the lightness value of 5f42ab is 0.46.
The process color (four color CMYK) of #5f42ab color hex is 0.44, 0.61, 0.00, 0.33. Web safe color of #5f42ab is #663399. Color #5f42ab contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 01011111 | 01000010 | 10101011 |
Octal | 137 | 102 | 253 |
Decimal | 95 | 66 | 171 |
Hex | 5F | 42 | AB |
Shades of #5f42ab
Tints of #5f42ab
RGB Percentages of Color #5f42ab
CMYK Percentages of Color #5f42ab
Complementary Color
#5f42ab | #8eab42 |
#5f42ab Color Preview on Black Background
Lorem ipsum dolor sit amet.
#5f42ab Color Preview on White Background
Lorem ipsum dolor sit amet.
#5f42ab Color CSS Codes
.mybgcolor {background-color:#5f42ab; } .myforecolor {color:#5f42ab; } .mybordercolor {border:3px solid #5f42ab; }
#5f42ab Text Font Color
<p style="color:#5f42ab">Text here</p>
This sample text font color is #5f42ab
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.
#5f42ab Background Color
<div style="background-color:#5f42ab">
Div content here</div>
This div background color is #5f42ab
#5f42ab Border Color
<div style="border:3px solid #5f42ab">
Div here</div>
This div border color is #5f42ab
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(95,66,171, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #5f42ab; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5f42ab; -webkit-box-shadow: 1px 1px 3px 2px #5f42ab; box-shadow: 1px 1px 3px 2px #5f42ab; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(95,66,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 #5f42ab">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #5f42ab; -webkit-box-shadow: 1px 1px 3px 2px #5f42ab; box-shadow: 1px 1px 3px 2px #5f42ab;">
Div content here</div>
This div box has shadow with color #5f42ab
Comments
No comments written yet.
Please login to write comment.