HEX: #06008A
RGB: (6,0,138)
#06008A contains mainly blue color. Web safe color of #06008A is #000099 (or #009).
#06008A color RGB value is (6,0,138).
RGB: (6,0,138) (2%,0%,54%)
R 6 of 255 = 2%
G 0 of 255 = 0%
B 138 of 255 = 54%
R + G + B ~ 19%. #06008A is dark color.
R + G + B =
6 + 0 + 138 = 144 (100%)
R 6 of 144 ~ 4.17%
G 0 of 144 ~ 0%
B 138 of 144 ~ 95.83%
#06008A color CMYK value is (96,100,0,46).
CMYK: (96,100,0,46) C96M100Y0K46 (96%,100%,0%,46%) (0.96/1.00/0.00/0.46)
06 | 00 | 8A | |
---|---|---|---|
RGB | 6 | 0 | 138 |
HSL | 243° | 100.00% | 27.06% |
HSB/HSV | 243° | 100.00% | 54.12% |
CMYK | 95.65% | 100.00% | 0.00% |
45.88% |
HEX | 06 | 00 | 8A |
Decimal | 6 | 0 | 138 |
Binary | 110 | 0 | 10001010 |
Octal | 6 | 0 | 212 |
Examples of css and html codes for elements with #06008A color. Also use rgb(6,0,138) instead hex code.
.myTextColor { color: #06008A; }
<p style="color:#06008A">This sample text font color is #06008A.</p>
This text font color is #06008A.
.myBgColor { background-color: #06008A; }
<div style="background-color:#06008A">Inner text</div>
This div background color is #06008A.
.myBorderColor { border: 1px solid #06008A; }
<div style="border:3px solid #06008A">Div</div>
This div border color is #06008A.
.myOpacity80 { color: #06008A; opacity: 0.8; }
<p style="color:#06008A;opacity:0.8;">80%</p>
Text with #06008A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #06008A;}
<p style="text-shadow: 3px 3px 1px #06008A">Text here.</p>
This text has shadow with #06008A color.
.textShadow {text-shadow: 3px 3px 1px #06008A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #06008A, 5px 5px 20px red">Text here.</p>
This text has shadow with #06008A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#06008A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#06008A, Direction=45, Strength=4)">Text</p>
This text has shadow with #06008A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #06008A; -webkit-box-shadow: 1px 1px 3px 2px #06008A; box-shadow: 1px 1px 3px 2px #06008A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #06008A; -webkit-box-shadow: 1px 1px 3px 2px #06008A; box-shadow:1px 1px 3px 2px #06008A;">
Div content here</div>
This text has color #06008A on black background.
This text has color #06008A on white background.
This text has black color on #06008A background.
This text has white color on #06008A background.