HEX: #24497E
RGB: (36,73,126)
#24497E contains mainly green and blue colors. Web safe color of #24497E is #333366 (or #336).
#24497E color RGB value is (36,73,126).
RGB: (36,73,126) (14%,29%,49%)
R 36 of 255 = 14%
G 73 of 255 = 29%
B 126 of 255 = 49%
R + G + B ~ 31%. #24497E is quite dark color.
R + G + B =
36 + 73 + 126 = 235 (100%)
R 36 of 235 ~ 15.32%
G 73 of 235 ~ 31.06%
B 126 of 235 ~ 53.62%
#24497E color CMYK value is (71,42,0,51).
CMYK: (71,42,0,51) C71M42Y0K51 (71%,42%,0%,51%) (0.71/0.42/0.00/0.51)
24 | 49 | 7E | |
---|---|---|---|
RGB | 36 | 73 | 126 |
HSL | 215° | 55.56% | 31.76% |
HSB/HSV | 215° | 71.43% | 49.41% |
CMYK | 71.43% | 42.06% | 0.00% |
50.59% |
HEX | 24 | 49 | 7E |
Decimal | 36 | 73 | 126 |
Binary | 100100 | 1001001 | 1111110 |
Octal | 44 | 111 | 176 |
Examples of css and html codes for elements with #24497E color. Also use rgb(36,73,126) instead hex code.
.myTextColor { color: #24497E; }
<p style="color:#24497E">This sample text font color is #24497E.</p>
This text font color is #24497E.
.myBgColor { background-color: #24497E; }
<div style="background-color:#24497E">Inner text</div>
This div background color is #24497E.
.myBorderColor { border: 1px solid #24497E; }
<div style="border:3px solid #24497E">Div</div>
This div border color is #24497E.
.myOpacity80 { color: #24497E; opacity: 0.8; }
<p style="color:#24497E;opacity:0.8;">80%</p>
Text with #24497E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #24497E;}
<p style="text-shadow: 3px 3px 1px #24497E">Text here.</p>
This text has shadow with #24497E color.
.textShadow {text-shadow: 3px 3px 1px #24497E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #24497E, 5px 5px 20px red">Text here.</p>
This text has shadow with #24497E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#24497E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#24497E, Direction=45, Strength=4)">Text</p>
This text has shadow with #24497E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #24497E; -webkit-box-shadow: 1px 1px 3px 2px #24497E; box-shadow: 1px 1px 3px 2px #24497E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #24497E; -webkit-box-shadow: 1px 1px 3px 2px #24497E; box-shadow:1px 1px 3px 2px #24497E;">
Div content here</div>
This text has color #24497E on black background.
This text has color #24497E on white background.
This text has black color on #24497E background.
This text has white color on #24497E background.