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