HEX: #254E6B
RGB: (37,78,107)
#254E6B contains mainly green and blue colors. Web safe color of #254E6B is #336666 (or #366).
#254E6B color RGB value is (37,78,107).
RGB: (37,78,107) (15%,31%,42%)
R 37 of 255 = 15%
G 78 of 255 = 31%
B 107 of 255 = 42%
R + G + B ~ 29%. #254E6B is quite dark color.
R + G + B =
37 + 78 + 107 = 222 (100%)
R 37 of 222 ~ 16.67%
G 78 of 222 ~ 35.14%
B 107 of 222 ~ 48.2%
#254E6B color CMYK value is (65,27,0,58).
CMYK: (65,27,0,58) C65M27Y0K58 (65%,27%,0%,58%) (0.65/0.27/0.00/0.58)
25 | 4E | 6B | |
---|---|---|---|
RGB | 37 | 78 | 107 |
HSL | 205° | 48.61% | 28.24% |
HSB/HSV | 205° | 65.42% | 41.96% |
CMYK | 65.42% | 27.10% | 0.00% |
58.04% |
HEX | 25 | 4E | 6B |
Decimal | 37 | 78 | 107 |
Binary | 100101 | 1001110 | 1101011 |
Octal | 45 | 116 | 153 |
Examples of css and html codes for elements with #254E6B color. Also use rgb(37,78,107) instead hex code.
.myTextColor { color: #254E6B; }
<p style="color:#254E6B">This sample text font color is #254E6B.</p>
This text font color is #254E6B.
.myBgColor { background-color: #254E6B; }
<div style="background-color:#254E6B">Inner text</div>
This div background color is #254E6B.
.myBorderColor { border: 1px solid #254E6B; }
<div style="border:3px solid #254E6B">Div</div>
This div border color is #254E6B.
.myOpacity80 { color: #254E6B; opacity: 0.8; }
<p style="color:#254E6B;opacity:0.8;">80%</p>
Text with #254E6B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #254E6B;}
<p style="text-shadow: 3px 3px 1px #254E6B">Text here.</p>
This text has shadow with #254E6B color.
.textShadow {text-shadow: 3px 3px 1px #254E6B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #254E6B, 5px 5px 20px red">Text here.</p>
This text has shadow with #254E6B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#254E6B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#254E6B, Direction=45, Strength=4)">Text</p>
This text has shadow with #254E6B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #254E6B; -webkit-box-shadow: 1px 1px 3px 2px #254E6B; box-shadow: 1px 1px 3px 2px #254E6B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #254E6B; -webkit-box-shadow: 1px 1px 3px 2px #254E6B; box-shadow:1px 1px 3px 2px #254E6B;">
Div content here</div>
This text has color #254E6B on black background.
This text has color #254E6B on white background.
This text has black color on #254E6B background.
This text has white color on #254E6B background.