HEX: #173221
RGB: (23,50,33)
#173221 contains red, green and blue colors in about the same proportion. Web safe color of #173221 is #003333 (or #033).
#173221 color RGB value is (23,50,33).
RGB: (23,50,33) (9%,20%,13%)
R 23 of 255 = 9%
G 50 of 255 = 20%
B 33 of 255 = 13%
R + G + B ~ 14%. #173221 is dark color.
R + G + B =
23 + 50 + 33 = 106 (100%)
R 23 of 106 ~ 21.7%
G 50 of 106 ~ 47.17%
B 33 of 106 ~ 31.13%
#173221 color CMYK value is (54,0,34,80).
CMYK: (54,0,34,80) C54M0Y34K80 (54%,0%,34%,80%) (0.54/0.00/0.34/0.80)
17 | 32 | 21 | |
---|---|---|---|
RGB | 23 | 50 | 33 |
HSL | 142° | 36.99% | 14.31% |
HSB/HSV | 142° | 54.00% | 19.61% |
CMYK | 54.00% | 0.00% | 34.00% |
80.39% |
HEX | 17 | 32 | 21 |
Decimal | 23 | 50 | 33 |
Binary | 10111 | 110010 | 100001 |
Octal | 27 | 62 | 41 |
Examples of css and html codes for elements with #173221 color. Also use rgb(23,50,33) instead hex code.
.myTextColor { color: #173221; }
<p style="color:#173221">This sample text font color is #173221.</p>
This text font color is #173221.
.myBgColor { background-color: #173221; }
<div style="background-color:#173221">Inner text</div>
This div background color is #173221.
.myBorderColor { border: 1px solid #173221; }
<div style="border:3px solid #173221">Div</div>
This div border color is #173221.
.myOpacity80 { color: #173221; opacity: 0.8; }
<p style="color:#173221;opacity:0.8;">80%</p>
Text with #173221 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #173221;}
<p style="text-shadow: 3px 3px 1px #173221">Text here.</p>
This text has shadow with #173221 color.
.textShadow {text-shadow: 3px 3px 1px #173221, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #173221, 5px 5px 20px red">Text here.</p>
This text has shadow with #173221 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#173221, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#173221, Direction=45, Strength=4)">Text</p>
This text has shadow with #173221 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #173221; -webkit-box-shadow: 1px 1px 3px 2px #173221; box-shadow: 1px 1px 3px 2px #173221; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #173221; -webkit-box-shadow: 1px 1px 3px 2px #173221; box-shadow:1px 1px 3px 2px #173221;">
Div content here</div>
This text has color #173221 on black background.
This text has color #173221 on white background.
This text has black color on #173221 background.
This text has white color on #173221 background.