HEX: #252E4D
RGB: (37,46,77)
#252E4D contains red, green and blue colors in about the same proportion. Web safe color of #252E4D is #333333 (or #333).
#252E4D color RGB value is (37,46,77).
RGB: (37,46,77) (15%,18%,30%)
R 37 of 255 = 15%
G 46 of 255 = 18%
B 77 of 255 = 30%
R + G + B ~ 21%. #252E4D is dark color.
R + G + B =
37 + 46 + 77 = 160 (100%)
R 37 of 160 ~ 23.13%
G 46 of 160 ~ 28.75%
B 77 of 160 ~ 48.13%
#252E4D color CMYK value is (52,40,0,70).
CMYK: (52,40,0,70) C52M40Y0K70 (52%,40%,0%,70%) (0.52/0.40/0.00/0.70)
25 | 2E | 4D | |
---|---|---|---|
RGB | 37 | 46 | 77 |
HSL | 227° | 35.09% | 22.35% |
HSB/HSV | 227° | 51.95% | 30.20% |
CMYK | 51.95% | 40.26% | 0.00% |
69.80% |
HEX | 25 | 2E | 4D |
Decimal | 37 | 46 | 77 |
Binary | 100101 | 101110 | 1001101 |
Octal | 45 | 56 | 115 |
Examples of css and html codes for elements with #252E4D color. Also use rgb(37,46,77) instead hex code.
.myTextColor { color: #252E4D; }
<p style="color:#252E4D">This sample text font color is #252E4D.</p>
This text font color is #252E4D.
.myBgColor { background-color: #252E4D; }
<div style="background-color:#252E4D">Inner text</div>
This div background color is #252E4D.
.myBorderColor { border: 1px solid #252E4D; }
<div style="border:3px solid #252E4D">Div</div>
This div border color is #252E4D.
.myOpacity80 { color: #252E4D; opacity: 0.8; }
<p style="color:#252E4D;opacity:0.8;">80%</p>
Text with #252E4D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #252E4D;}
<p style="text-shadow: 3px 3px 1px #252E4D">Text here.</p>
This text has shadow with #252E4D color.
.textShadow {text-shadow: 3px 3px 1px #252E4D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #252E4D, 5px 5px 20px red">Text here.</p>
This text has shadow with #252E4D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#252E4D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#252E4D, Direction=45, Strength=4)">Text</p>
This text has shadow with #252E4D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #252E4D; -webkit-box-shadow: 1px 1px 3px 2px #252E4D; box-shadow: 1px 1px 3px 2px #252E4D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #252E4D; -webkit-box-shadow: 1px 1px 3px 2px #252E4D; box-shadow:1px 1px 3px 2px #252E4D;">
Div content here</div>
This text has color #252E4D on black background.
This text has color #252E4D on white background.
This text has black color on #252E4D background.
This text has white color on #252E4D background.