HEX: #060051
RGB: (6,0,81)
#060051 contains mainly blue color. Web safe color of #060051 is #000066 (or #006).
#060051 color RGB value is (6,0,81).
RGB: (6,0,81) (2%,0%,32%)
R 6 of 255 = 2%
G 0 of 255 = 0%
B 81 of 255 = 32%
R + G + B ~ 11%. #060051 is dark color.
R + G + B =
6 + 0 + 81 = 87 (100%)
R 6 of 87 ~ 6.9%
G 0 of 87 ~ 0%
B 81 of 87 ~ 93.1%
#060051 color CMYK value is (93,100,0,68).
CMYK: (93,100,0,68) C93M100Y0K68 (93%,100%,0%,68%) (0.93/1.00/0.00/0.68)
06 | 00 | 51 | |
---|---|---|---|
RGB | 6 | 0 | 81 |
HSL | 244° | 100.00% | 15.88% |
HSB/HSV | 244° | 100.00% | 31.76% |
CMYK | 92.59% | 100.00% | 0.00% |
68.24% |
HEX | 06 | 00 | 51 |
Decimal | 6 | 0 | 81 |
Binary | 110 | 0 | 1010001 |
Octal | 6 | 0 | 121 |
Examples of css and html codes for elements with #060051 color. Also use rgb(6,0,81) instead hex code.
.myTextColor { color: #060051; }
<p style="color:#060051">This sample text font color is #060051.</p>
This text font color is #060051.
.myBgColor { background-color: #060051; }
<div style="background-color:#060051">Inner text</div>
This div background color is #060051.
.myBorderColor { border: 1px solid #060051; }
<div style="border:3px solid #060051">Div</div>
This div border color is #060051.
.myOpacity80 { color: #060051; opacity: 0.8; }
<p style="color:#060051;opacity:0.8;">80%</p>
Text with #060051 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #060051;}
<p style="text-shadow: 3px 3px 1px #060051">Text here.</p>
This text has shadow with #060051 color.
.textShadow {text-shadow: 3px 3px 1px #060051, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #060051, 5px 5px 20px red">Text here.</p>
This text has shadow with #060051 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#060051, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#060051, Direction=45, Strength=4)">Text</p>
This text has shadow with #060051 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #060051; -webkit-box-shadow: 1px 1px 3px 2px #060051; box-shadow: 1px 1px 3px 2px #060051; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #060051; -webkit-box-shadow: 1px 1px 3px 2px #060051; box-shadow:1px 1px 3px 2px #060051;">
Div content here</div>
This text has color #060051 on black background.
This text has color #060051 on white background.
This text has black color on #060051 background.
This text has white color on #060051 background.