Color spaces of #0c2f51
RGB | 12 | 47 | 81 |
---|---|---|---|
HSL | 0.58 | 0.74 | 0.18 |
HSV | 210° | 85° | 32° |
CMYK | 0.85 | 0.42 | 0.00 0.68 |
XYZ | 2.6533 | 2.7053 | 8.1669 |
Yxy | 2.7053 | 0.1962 | 0.2000 |
Hunter Lab | 16.4478 | 0.0113 | -17.9261 |
CIE-Lab | 18.8228 | 1.5788 | -24.3064 |
#0c2f51 color RGB value is (12,47,81).
#0c2f51 hex color red value is 12, green value is 47 and the blue value of its RGB is 81. Cylindrical-coordinate representations (also known as HSL) of color #0c2f51 hue: 0.58 , saturation: 0.74 and the lightness value of 0c2f51 is 0.18.
The process color (four color CMYK) of #0c2f51 color hex is 0.85, 0.42, 0.00, 0.68. Web safe color of #0c2f51 is #003366. Color #0c2f51 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00001100 | 00101111 | 01010001 |
Octal | 14 | 57 | 121 |
Decimal | 12 | 47 | 81 |
Hex | C | 2F | 51 |
Shades of #0c2f51
Tints of #0c2f51
RGB Percentages of Color #0c2f51
CMYK Percentages of Color #0c2f51
Complementary Color
#0c2f51 | #512e0c |
#0c2f51 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#0c2f51 Color Preview on White Background
Lorem ipsum dolor sit amet.
#0c2f51 Color CSS Codes
.mybgcolor {background-color:#0c2f51; } .myforecolor {color:#0c2f51; } .mybordercolor {border:3px solid #0c2f51; }
#0c2f51 Text Font Color
<p style="color:#0c2f51">Text here</p>
This sample text font color is #0c2f51
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.
#0c2f51 Background Color
<div style="background-color:#0c2f51">
Div content here</div>
This div background color is #0c2f51
#0c2f51 Border Color
<div style="border:3px solid #0c2f51">
Div here</div>
This div border color is #0c2f51
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(12,47,81, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #0c2f51; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #0c2f51; -webkit-box-shadow: 1px 1px 3px 2px #0c2f51; box-shadow: 1px 1px 3px 2px #0c2f51; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(12,47,81, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #0c2f51">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #0c2f51; -webkit-box-shadow: 1px 1px 3px 2px #0c2f51; box-shadow: 1px 1px 3px 2px #0c2f51;">
Div content here</div>
This div box has shadow with color #0c2f51
Comments
No comments written yet.
Please login to write comment.