HEX: #304741
RGB: (48,71,65)
#304741 contains red, green and blue colors in about the same proportion. Web safe color of #304741 is #333333 (or #333).
#304741 color RGB value is (48,71,65).
RGB: (48,71,65) (19%,28%,25%)
R 48 of 255 = 19%
G 71 of 255 = 28%
B 65 of 255 = 25%
R + G + B ~ 24%. #304741 is dark color.
R + G + B =
48 + 71 + 65 = 184 (100%)
R 48 of 184 ~ 26.09%
G 71 of 184 ~ 38.59%
B 65 of 184 ~ 35.33%
#304741 color CMYK value is (32,0,8,72).
CMYK: (32,0,8,72) C32M0Y8K72 (32%,0%,8%,72%) (0.32/0.00/0.08/0.72)
30 | 47 | 41 | |
---|---|---|---|
RGB | 48 | 71 | 65 |
HSL | 164° | 19.33% | 23.33% |
HSB/HSV | 164° | 32.39% | 27.84% |
CMYK | 32.39% | 0.00% | 8.45% |
72.16% |
HEX | 30 | 47 | 41 |
Decimal | 48 | 71 | 65 |
Binary | 110000 | 1000111 | 1000001 |
Octal | 60 | 107 | 101 |
Examples of css and html codes for elements with #304741 color. Also use rgb(48,71,65) instead hex code.
.myTextColor { color: #304741; }
<p style="color:#304741">This sample text font color is #304741.</p>
This text font color is #304741.
.myBgColor { background-color: #304741; }
<div style="background-color:#304741">Inner text</div>
This div background color is #304741.
.myBorderColor { border: 1px solid #304741; }
<div style="border:3px solid #304741">Div</div>
This div border color is #304741.
.myOpacity80 { color: #304741; opacity: 0.8; }
<p style="color:#304741;opacity:0.8;">80%</p>
Text with #304741 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #304741;}
<p style="text-shadow: 3px 3px 1px #304741">Text here.</p>
This text has shadow with #304741 color.
.textShadow {text-shadow: 3px 3px 1px #304741, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #304741, 5px 5px 20px red">Text here.</p>
This text has shadow with #304741 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#304741, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#304741, Direction=45, Strength=4)">Text</p>
This text has shadow with #304741 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #304741; -webkit-box-shadow: 1px 1px 3px 2px #304741; box-shadow: 1px 1px 3px 2px #304741; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #304741; -webkit-box-shadow: 1px 1px 3px 2px #304741; box-shadow:1px 1px 3px 2px #304741;">
Div content here</div>
This text has color #304741 on black background.
This text has color #304741 on white background.
This text has black color on #304741 background.
This text has white color on #304741 background.