HEX: #304784
RGB: (48,71,132)
#304784 contains mainly blue color. Web safe color of #304784 is #333399 (or #339).
#304784 color RGB value is (48,71,132).
RGB: (48,71,132) (19%,28%,52%)
R 48 of 255 = 19%
G 71 of 255 = 28%
B 132 of 255 = 52%
R + G + B ~ 33%. #304784 is quite dark color.
R + G + B =
48 + 71 + 132 = 251 (100%)
R 48 of 251 ~ 19.12%
G 71 of 251 ~ 28.29%
B 132 of 251 ~ 52.59%
#304784 color CMYK value is (64,46,0,48).
CMYK: (64,46,0,48) C64M46Y0K48 (64%,46%,0%,48%) (0.64/0.46/0.00/0.48)
30 | 47 | 84 | |
---|---|---|---|
RGB | 48 | 71 | 132 |
HSL | 224° | 46.67% | 35.29% |
HSB/HSV | 224° | 63.64% | 51.76% |
CMYK | 63.64% | 46.21% | 0.00% |
48.24% |
HEX | 30 | 47 | 84 |
Decimal | 48 | 71 | 132 |
Binary | 110000 | 1000111 | 10000100 |
Octal | 60 | 107 | 204 |
Examples of css and html codes for elements with #304784 color. Also use rgb(48,71,132) instead hex code.
.myTextColor { color: #304784; }
<p style="color:#304784">This sample text font color is #304784.</p>
This text font color is #304784.
.myBgColor { background-color: #304784; }
<div style="background-color:#304784">Inner text</div>
This div background color is #304784.
.myBorderColor { border: 1px solid #304784; }
<div style="border:3px solid #304784">Div</div>
This div border color is #304784.
.myOpacity80 { color: #304784; opacity: 0.8; }
<p style="color:#304784;opacity:0.8;">80%</p>
Text with #304784 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #304784;}
<p style="text-shadow: 3px 3px 1px #304784">Text here.</p>
This text has shadow with #304784 color.
.textShadow {text-shadow: 3px 3px 1px #304784, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #304784, 5px 5px 20px red">Text here.</p>
This text has shadow with #304784 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#304784, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#304784, Direction=45, Strength=4)">Text</p>
This text has shadow with #304784 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #304784; -webkit-box-shadow: 1px 1px 3px 2px #304784; box-shadow: 1px 1px 3px 2px #304784; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #304784; -webkit-box-shadow: 1px 1px 3px 2px #304784; box-shadow:1px 1px 3px 2px #304784;">
Div content here</div>
This text has color #304784 on black background.
This text has color #304784 on white background.
This text has black color on #304784 background.
This text has white color on #304784 background.