Color spaces of #31157a
RGB | 49 | 21 | 122 |
---|---|---|---|
HSL | 0.71 | 0.71 | 0.28 |
HSV | 257° | 83° | 48° |
CMYK | 0.60 | 0.83 | 0.00 0.52 |
XYZ | 5.0476 | 2.5944 | 18.6471 |
Yxy | 2.5944 | 0.1920 | 0.0987 |
Hunter Lab | 16.1071 | 27.7502 | -57.3645 |
CIE-Lab | 18.3403 | 39.9215 | -51.8585 |
#31157a color RGB value is (49,21,122).
#31157a hex color red value is 49, green value is 21 and the blue value of its RGB is 122. Cylindrical-coordinate representations (also known as HSL) of color #31157a hue: 0.71 , saturation: 0.71 and the lightness value of 31157a is 0.28.
The process color (four color CMYK) of #31157a color hex is 0.60, 0.83, 0.00, 0.52. Web safe color of #31157a is #330066. Color #31157a contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00110001 | 00010101 | 01111010 |
Octal | 61 | 25 | 172 |
Decimal | 49 | 21 | 122 |
Hex | 31 | 15 | 7A |
Shades of #31157a
Tints of #31157a
RGB Percentages of Color #31157a
CMYK Percentages of Color #31157a
Complementary Color
#31157a | #5e7a15 |
#31157a Color Preview on Black Background
Lorem ipsum dolor sit amet.
#31157a Color Preview on White Background
Lorem ipsum dolor sit amet.
#31157a Color CSS Codes
.mybgcolor {background-color:#31157a; } .myforecolor {color:#31157a; } .mybordercolor {border:3px solid #31157a; }
#31157a Text Font Color
<p style="color:#31157a">Text here</p>
This sample text font color is #31157a
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.
#31157a Background Color
<div style="background-color:#31157a">
Div content here</div>
This div background color is #31157a
#31157a Border Color
<div style="border:3px solid #31157a">
Div here</div>
This div border color is #31157a
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(49,21,122, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #31157a; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #31157a; -webkit-box-shadow: 1px 1px 3px 2px #31157a; box-shadow: 1px 1px 3px 2px #31157a; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(49,21,122, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #31157a">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #31157a; -webkit-box-shadow: 1px 1px 3px 2px #31157a; box-shadow: 1px 1px 3px 2px #31157a;">
Div content here</div>
This div box has shadow with color #31157a
Comments
No comments written yet.
Please login to write comment.