HEX: #306D7D
RGB: (48,109,125)
#306D7D contains mainly green and blue colors. Web safe color of #306D7D is #336666 (or #366).
#306D7D color RGB value is (48,109,125).
RGB: (48,109,125) (19%,43%,49%)
R 48 of 255 = 19%
G 109 of 255 = 43%
B 125 of 255 = 49%
R + G + B ~ 37%. #306D7D is quite dark color.
R + G + B =
48 + 109 + 125 = 282 (100%)
R 48 of 282 ~ 17.02%
G 109 of 282 ~ 38.65%
B 125 of 282 ~ 44.33%
#306D7D color CMYK value is (62,13,0,51).
CMYK: (62,13,0,51) C62M13Y0K51 (62%,13%,0%,51%) (0.62/0.13/0.00/0.51)
30 | 6D | 7D | |
---|---|---|---|
RGB | 48 | 109 | 125 |
HSL | 192° | 44.51% | 33.92% |
HSB/HSV | 192° | 61.60% | 49.02% |
CMYK | 61.60% | 12.80% | 0.00% |
50.98% |
HEX | 30 | 6D | 7D |
Decimal | 48 | 109 | 125 |
Binary | 110000 | 1101101 | 1111101 |
Octal | 60 | 155 | 175 |
Examples of css and html codes for elements with #306D7D color. Also use rgb(48,109,125) instead hex code.
.myTextColor { color: #306D7D; }
<p style="color:#306D7D">This sample text font color is #306D7D.</p>
This text font color is #306D7D.
.myBgColor { background-color: #306D7D; }
<div style="background-color:#306D7D">Inner text</div>
This div background color is #306D7D.
.myBorderColor { border: 1px solid #306D7D; }
<div style="border:3px solid #306D7D">Div</div>
This div border color is #306D7D.
.myOpacity80 { color: #306D7D; opacity: 0.8; }
<p style="color:#306D7D;opacity:0.8;">80%</p>
Text with #306D7D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #306D7D;}
<p style="text-shadow: 3px 3px 1px #306D7D">Text here.</p>
This text has shadow with #306D7D color.
.textShadow {text-shadow: 3px 3px 1px #306D7D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #306D7D, 5px 5px 20px red">Text here.</p>
This text has shadow with #306D7D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#306D7D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#306D7D, Direction=45, Strength=4)">Text</p>
This text has shadow with #306D7D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #306D7D; -webkit-box-shadow: 1px 1px 3px 2px #306D7D; box-shadow: 1px 1px 3px 2px #306D7D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #306D7D; -webkit-box-shadow: 1px 1px 3px 2px #306D7D; box-shadow:1px 1px 3px 2px #306D7D;">
Div content here</div>
This text has color #306D7D on black background.
This text has color #306D7D on white background.
This text has black color on #306D7D background.
This text has white color on #306D7D background.