HEX: #306BAE
RGB: (48,107,174)
#306BAE contains mainly blue color. Web safe color of #306BAE is #336699 (or #369).
#306BAE color RGB value is (48,107,174).
RGB: (48,107,174) (19%,42%,68%)
R 48 of 255 = 19%
G 107 of 255 = 42%
B 174 of 255 = 68%
R + G + B ~ 43%. #306BAE is middle color (not dark and not light).
R + G + B =
48 + 107 + 174 = 329 (100%)
R 48 of 329 ~ 14.59%
G 107 of 329 ~ 32.52%
B 174 of 329 ~ 52.89%
#306BAE color CMYK value is (72,39,0,32).
CMYK: (72,39,0,32) C72M39Y0K32 (72%,39%,0%,32%) (0.72/0.39/0.00/0.32)
30 | 6B | AE | |
---|---|---|---|
RGB | 48 | 107 | 174 |
HSL | 212° | 56.76% | 43.53% |
HSB/HSV | 212° | 72.41% | 68.24% |
CMYK | 72.41% | 38.51% | 0.00% |
31.76% |
HEX | 30 | 6B | AE |
Decimal | 48 | 107 | 174 |
Binary | 110000 | 1101011 | 10101110 |
Octal | 60 | 153 | 256 |
Examples of css and html codes for elements with #306BAE color. Also use rgb(48,107,174) instead hex code.
.myTextColor { color: #306BAE; }
<p style="color:#306BAE">This sample text font color is #306BAE.</p>
This text font color is #306BAE.
.myBgColor { background-color: #306BAE; }
<div style="background-color:#306BAE">Inner text</div>
This div background color is #306BAE.
.myBorderColor { border: 1px solid #306BAE; }
<div style="border:3px solid #306BAE">Div</div>
This div border color is #306BAE.
.myOpacity80 { color: #306BAE; opacity: 0.8; }
<p style="color:#306BAE;opacity:0.8;">80%</p>
Text with #306BAE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #306BAE;}
<p style="text-shadow: 3px 3px 1px #306BAE">Text here.</p>
This text has shadow with #306BAE color.
.textShadow {text-shadow: 3px 3px 1px #306BAE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #306BAE, 5px 5px 20px red">Text here.</p>
This text has shadow with #306BAE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#306BAE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#306BAE, Direction=45, Strength=4)">Text</p>
This text has shadow with #306BAE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #306BAE; -webkit-box-shadow: 1px 1px 3px 2px #306BAE; box-shadow: 1px 1px 3px 2px #306BAE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #306BAE; -webkit-box-shadow: 1px 1px 3px 2px #306BAE; box-shadow:1px 1px 3px 2px #306BAE;">
Div content here</div>
This text has color #306BAE on black background.
This text has color #306BAE on white background.
This text has black color on #306BAE background.
This text has white color on #306BAE background.