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