HEX: #01251F
RGB: (1,37,31)
#01251F contains red, green and blue colors in about the same proportion. Web safe color of #01251F is #003333 (or #033).
#01251F color RGB value is (1,37,31).
RGB: (1,37,31) (0%,15%,12%)
R 1 of 255 = 0%
G 37 of 255 = 15%
B 31 of 255 = 12%
R + G + B ~ 9%. #01251F is dark color.
R + G + B =
1 + 37 + 31 = 69 (100%)
R 1 of 69 ~ 1.45%
G 37 of 69 ~ 53.62%
B 31 of 69 ~ 44.93%
#01251F color CMYK value is (97,0,16,85).
CMYK: (97,0,16,85) C97M0Y16K85 (97%,0%,16%,85%) (0.97/0.00/0.16/0.85)
01 | 25 | 1F | |
---|---|---|---|
RGB | 1 | 37 | 31 |
HSL | 170° | 94.74% | 7.45% |
HSB/HSV | 170° | 97.30% | 14.51% |
CMYK | 97.30% | 0.00% | 16.22% |
85.49% |
HEX | 01 | 25 | 1F |
Decimal | 1 | 37 | 31 |
Binary | 1 | 100101 | 11111 |
Octal | 1 | 45 | 37 |
Examples of css and html codes for elements with #01251F color. Also use rgb(1,37,31) instead hex code.
.myTextColor { color: #01251F; }
<p style="color:#01251F">This sample text font color is #01251F.</p>
This text font color is #01251F.
.myBgColor { background-color: #01251F; }
<div style="background-color:#01251F">Inner text</div>
This div background color is #01251F.
.myBorderColor { border: 1px solid #01251F; }
<div style="border:3px solid #01251F">Div</div>
This div border color is #01251F.
.myOpacity80 { color: #01251F; opacity: 0.8; }
<p style="color:#01251F;opacity:0.8;">80%</p>
Text with #01251F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #01251F;}
<p style="text-shadow: 3px 3px 1px #01251F">Text here.</p>
This text has shadow with #01251F color.
.textShadow {text-shadow: 3px 3px 1px #01251F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #01251F, 5px 5px 20px red">Text here.</p>
This text has shadow with #01251F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#01251F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#01251F, Direction=45, Strength=4)">Text</p>
This text has shadow with #01251F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #01251F; -webkit-box-shadow: 1px 1px 3px 2px #01251F; box-shadow: 1px 1px 3px 2px #01251F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #01251F; -webkit-box-shadow: 1px 1px 3px 2px #01251F; box-shadow:1px 1px 3px 2px #01251F;">
Div content here</div>
This text has color #01251F on black background.
This text has color #01251F on white background.
This text has black color on #01251F background.
This text has white color on #01251F background.