HEX: #050002
RGB: (5,0,2)
#050002 contains only red and blue colors. Web safe color of #050002 is #000000 (or #000).
#050002 color RGB value is (5,0,2).
RGB: (5,0,2) (2%,0%,1%)
R 5 of 255 = 2%
G 0 of 255 = 0%
B 2 of 255 = 1%
R + G + B ~ 1%. #050002 is dark color.
R + G + B =
5 + 0 + 2 = 7 (100%)
R 5 of 7 ~ 71.43%
G 0 of 7 ~ 0%
B 2 of 7 ~ 28.57%
#050002 color CMYK value is (0,100,60,98).
CMYK: (0,100,60,98) C0M100Y60K98 (0%,100%,60%,98%) (0.00/1.00/0.60/0.98)
05 | 00 | 02 | |
---|---|---|---|
RGB | 5 | 0 | 2 |
HSL | 336° | 100.00% | 0.98% |
HSB/HSV | 336° | 100.00% | 1.96% |
CMYK | 0.00% | 100.00% | 60.00% |
98.04% |
HEX | 05 | 00 | 02 |
Decimal | 5 | 0 | 2 |
Binary | 101 | 0 | 10 |
Octal | 5 | 0 | 2 |
Examples of css and html codes for elements with #050002 color. Also use rgb(5,0,2) instead hex code.
.myTextColor { color: #050002; }
<p style="color:#050002">This sample text font color is #050002.</p>
This text font color is #050002.
.myBgColor { background-color: #050002; }
<div style="background-color:#050002">Inner text</div>
This div background color is #050002.
.myBorderColor { border: 1px solid #050002; }
<div style="border:3px solid #050002">Div</div>
This div border color is #050002.
.myOpacity80 { color: #050002; opacity: 0.8; }
<p style="color:#050002;opacity:0.8;">80%</p>
Text with #050002 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #050002;}
<p style="text-shadow: 3px 3px 1px #050002">Text here.</p>
This text has shadow with #050002 color.
.textShadow {text-shadow: 3px 3px 1px #050002, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #050002, 5px 5px 20px red">Text here.</p>
This text has shadow with #050002 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#050002, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#050002, Direction=45, Strength=4)">Text</p>
This text has shadow with #050002 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #050002; -webkit-box-shadow: 1px 1px 3px 2px #050002; box-shadow: 1px 1px 3px 2px #050002; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #050002; -webkit-box-shadow: 1px 1px 3px 2px #050002; box-shadow:1px 1px 3px 2px #050002;">
Div content here</div>
This text has color #050002 on black background.
This text has color #050002 on white background.
This text has black color on #050002 background.
This text has white color on #050002 background.