HEX: #25171B
RGB: (37,23,27)
#25171B contains red, green and blue colors in about the same proportion. Web safe color of #25171B is #330033 (or #303).
#25171B color RGB value is (37,23,27).
RGB: (37,23,27) (15%,9%,11%)
R 37 of 255 = 15%
G 23 of 255 = 9%
B 27 of 255 = 11%
R + G + B ~ 12%. #25171B is dark color.
R + G + B =
37 + 23 + 27 = 87 (100%)
R 37 of 87 ~ 42.53%
G 23 of 87 ~ 26.44%
B 27 of 87 ~ 31.03%
#25171B color CMYK value is (0,38,27,85).
CMYK: (0,38,27,85) C0M38Y27K85 (0%,38%,27%,85%) (0.00/0.38/0.27/0.85)
25 | 17 | 1B | |
---|---|---|---|
RGB | 37 | 23 | 27 |
HSL | 343° | 23.33% | 11.76% |
HSB/HSV | 343° | 37.84% | 14.51% |
CMYK | 0.00% | 37.84% | 27.03% |
85.49% |
HEX | 25 | 17 | 1B |
Decimal | 37 | 23 | 27 |
Binary | 100101 | 10111 | 11011 |
Octal | 45 | 27 | 33 |
Examples of css and html codes for elements with #25171B color. Also use rgb(37,23,27) instead hex code.
.myTextColor { color: #25171B; }
<p style="color:#25171B">This sample text font color is #25171B.</p>
This text font color is #25171B.
.myBgColor { background-color: #25171B; }
<div style="background-color:#25171B">Inner text</div>
This div background color is #25171B.
.myBorderColor { border: 1px solid #25171B; }
<div style="border:3px solid #25171B">Div</div>
This div border color is #25171B.
.myOpacity80 { color: #25171B; opacity: 0.8; }
<p style="color:#25171B;opacity:0.8;">80%</p>
Text with #25171B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #25171B;}
<p style="text-shadow: 3px 3px 1px #25171B">Text here.</p>
This text has shadow with #25171B color.
.textShadow {text-shadow: 3px 3px 1px #25171B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #25171B, 5px 5px 20px red">Text here.</p>
This text has shadow with #25171B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#25171B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#25171B, Direction=45, Strength=4)">Text</p>
This text has shadow with #25171B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #25171B; -webkit-box-shadow: 1px 1px 3px 2px #25171B; box-shadow: 1px 1px 3px 2px #25171B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #25171B; -webkit-box-shadow: 1px 1px 3px 2px #25171B; box-shadow:1px 1px 3px 2px #25171B;">
Div content here</div>
This text has color #25171B on black background.
This text has color #25171B on white background.
This text has black color on #25171B background.
This text has white color on #25171B background.