Color spaces of #31308f
RGB | 49 | 48 | 143 |
---|---|---|---|
HSL | 0.67 | 0.50 | 0.37 |
HSV | 241° | 66° | 56° |
CMYK | 0.66 | 0.66 | 0.00 0.44 |
XYZ | 7.2815 | 4.7500 | 26.5197 |
Yxy | 4.7500 | 0.1889 | 0.1232 |
Hunter Lab | 21.7945 | 21.4962 | -56.8884 |
CIE-Lab | 26.0103 | 31.2769 | -52.4695 |
#31308f color RGB value is (49,48,143).
#31308f hex color red value is 49, green value is 48 and the blue value of its RGB is 143. Cylindrical-coordinate representations (also known as HSL) of color #31308f hue: 0.67 , saturation: 0.50 and the lightness value of 31308f is 0.37.
The process color (four color CMYK) of #31308f color hex is 0.66, 0.66, 0.00, 0.44. Web safe color of #31308f is #333399. Color #31308f contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00110001 | 00110000 | 10001111 |
Octal | 61 | 60 | 217 |
Decimal | 49 | 48 | 143 |
Hex | 31 | 30 | 8F |
Shades of #31308f
Tints of #31308f
RGB Percentages of Color #31308f
CMYK Percentages of Color #31308f
Complementary Color
#31308f | #8e8f30 |
#31308f Color Preview on Black Background
Lorem ipsum dolor sit amet.
#31308f Color Preview on White Background
Lorem ipsum dolor sit amet.
#31308f Color CSS Codes
.mybgcolor {background-color:#31308f; } .myforecolor {color:#31308f; } .mybordercolor {border:3px solid #31308f; }
#31308f Text Font Color
<p style="color:#31308f">Text here</p>
This sample text font color is #31308f
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.
#31308f Background Color
<div style="background-color:#31308f">
Div content here</div>
This div background color is #31308f
#31308f Border Color
<div style="border:3px solid #31308f">
Div here</div>
This div border color is #31308f
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(49,48,143, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #31308f; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #31308f; -webkit-box-shadow: 1px 1px 3px 2px #31308f; box-shadow: 1px 1px 3px 2px #31308f; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(49,48,143, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #31308f">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #31308f; -webkit-box-shadow: 1px 1px 3px 2px #31308f; box-shadow: 1px 1px 3px 2px #31308f;">
Div content here</div>
This div box has shadow with color #31308f
Comments
No comments written yet.
Please login to write comment.