HEX: #050B01
RGB: (5,11,1)
#050B01 contains red, green and blue colors in about the same proportion. Web safe color of #050B01 is #000000 (or #000).
#050B01 color RGB value is (5,11,1).
RGB: (5,11,1) (2%,4%,0%)
R 5 of 255 = 2%
G 11 of 255 = 4%
B 1 of 255 = 0%
R + G + B ~ 2%. #050B01 is dark color.
R + G + B =
5 + 11 + 1 = 17 (100%)
R 5 of 17 ~ 29.41%
G 11 of 17 ~ 64.71%
B 1 of 17 ~ 5.88%
#050B01 color CMYK value is (55,0,91,96).
CMYK: (55,0,91,96) C55M0Y91K96 (55%,0%,91%,96%) (0.55/0.00/0.91/0.96)
05 | 0B | 01 | |
---|---|---|---|
RGB | 5 | 11 | 1 |
HSL | 96° | 83.33% | 2.35% |
HSB/HSV | 96° | 90.91% | 4.31% |
CMYK | 54.55% | 0.00% | 90.91% |
95.69% |
HEX | 05 | 0B | 01 |
Decimal | 5 | 11 | 1 |
Binary | 101 | 1011 | 1 |
Octal | 5 | 13 | 1 |
Examples of css and html codes for elements with #050B01 color. Also use rgb(5,11,1) instead hex code.
.myTextColor { color: #050B01; }
<p style="color:#050B01">This sample text font color is #050B01.</p>
This text font color is #050B01.
.myBgColor { background-color: #050B01; }
<div style="background-color:#050B01">Inner text</div>
This div background color is #050B01.
.myBorderColor { border: 1px solid #050B01; }
<div style="border:3px solid #050B01">Div</div>
This div border color is #050B01.
.myOpacity80 { color: #050B01; opacity: 0.8; }
<p style="color:#050B01;opacity:0.8;">80%</p>
Text with #050B01 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #050B01;}
<p style="text-shadow: 3px 3px 1px #050B01">Text here.</p>
This text has shadow with #050B01 color.
.textShadow {text-shadow: 3px 3px 1px #050B01, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #050B01, 5px 5px 20px red">Text here.</p>
This text has shadow with #050B01 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#050B01, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#050B01, Direction=45, Strength=4)">Text</p>
This text has shadow with #050B01 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #050B01; -webkit-box-shadow: 1px 1px 3px 2px #050B01; box-shadow: 1px 1px 3px 2px #050B01; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #050B01; -webkit-box-shadow: 1px 1px 3px 2px #050B01; box-shadow:1px 1px 3px 2px #050B01;">
Div content here</div>
This text has color #050B01 on black background.
This text has color #050B01 on white background.
This text has black color on #050B01 background.
This text has white color on #050B01 background.