HEX: #25508D
RGB: (37,80,141)
#25508D contains mainly blue color. Web safe color of #25508D is #336699 (or #369).
#25508D color RGB value is (37,80,141).
RGB: (37,80,141) (15%,31%,55%)
R 37 of 255 = 15%
G 80 of 255 = 31%
B 141 of 255 = 55%
R + G + B ~ 34%. #25508D is quite dark color.
R + G + B =
37 + 80 + 141 = 258 (100%)
R 37 of 258 ~ 14.34%
G 80 of 258 ~ 31.01%
B 141 of 258 ~ 54.65%
#25508D color CMYK value is (74,43,0,45).
CMYK: (74,43,0,45) C74M43Y0K45 (74%,43%,0%,45%) (0.74/0.43/0.00/0.45)
25 | 50 | 8D | |
---|---|---|---|
RGB | 37 | 80 | 141 |
HSL | 215° | 58.43% | 34.90% |
HSB/HSV | 215° | 73.76% | 55.29% |
CMYK | 73.76% | 43.26% | 0.00% |
44.71% |
HEX | 25 | 50 | 8D |
Decimal | 37 | 80 | 141 |
Binary | 100101 | 1010000 | 10001101 |
Octal | 45 | 120 | 215 |
Examples of css and html codes for elements with #25508D color. Also use rgb(37,80,141) instead hex code.
.myTextColor { color: #25508D; }
<p style="color:#25508D">This sample text font color is #25508D.</p>
This text font color is #25508D.
.myBgColor { background-color: #25508D; }
<div style="background-color:#25508D">Inner text</div>
This div background color is #25508D.
.myBorderColor { border: 1px solid #25508D; }
<div style="border:3px solid #25508D">Div</div>
This div border color is #25508D.
.myOpacity80 { color: #25508D; opacity: 0.8; }
<p style="color:#25508D;opacity:0.8;">80%</p>
Text with #25508D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #25508D;}
<p style="text-shadow: 3px 3px 1px #25508D">Text here.</p>
This text has shadow with #25508D color.
.textShadow {text-shadow: 3px 3px 1px #25508D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #25508D, 5px 5px 20px red">Text here.</p>
This text has shadow with #25508D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#25508D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#25508D, Direction=45, Strength=4)">Text</p>
This text has shadow with #25508D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #25508D; -webkit-box-shadow: 1px 1px 3px 2px #25508D; box-shadow: 1px 1px 3px 2px #25508D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #25508D; -webkit-box-shadow: 1px 1px 3px 2px #25508D; box-shadow:1px 1px 3px 2px #25508D;">
Div content here</div>
This text has color #25508D on black background.
This text has color #25508D on white background.
This text has black color on #25508D background.
This text has white color on #25508D background.