HEX: #254EE1
RGB: (37,78,225)
#254EE1 contains mainly blue color. Web safe color of #254EE1 is #3366CC (or #36C).
#254EE1 color RGB value is (37,78,225).
RGB: (37,78,225) (15%,31%,88%)
R 37 of 255 = 15%
G 78 of 255 = 31%
B 225 of 255 = 88%
R + G + B ~ 45%. #254EE1 is middle color (not dark and not light).
R + G + B =
37 + 78 + 225 = 340 (100%)
R 37 of 340 ~ 10.88%
G 78 of 340 ~ 22.94%
B 225 of 340 ~ 66.18%
#254EE1 color CMYK value is (84,65,0,12).
CMYK: (84,65,0,12) C84M65Y0K12 (84%,65%,0%,12%) (0.84/0.65/0.00/0.12)
25 | 4E | E1 | |
---|---|---|---|
RGB | 37 | 78 | 225 |
HSL | 227° | 75.81% | 51.37% |
HSB/HSV | 227° | 83.56% | 88.24% |
CMYK | 83.56% | 65.33% | 0.00% |
11.76% |
HEX | 25 | 4E | E1 |
Decimal | 37 | 78 | 225 |
Binary | 100101 | 1001110 | 11100001 |
Octal | 45 | 116 | 341 |
Examples of css and html codes for elements with #254EE1 color. Also use rgb(37,78,225) instead hex code.
.myTextColor { color: #254EE1; }
<p style="color:#254EE1">This sample text font color is #254EE1.</p>
This text font color is #254EE1.
.myBgColor { background-color: #254EE1; }
<div style="background-color:#254EE1">Inner text</div>
This div background color is #254EE1.
.myBorderColor { border: 1px solid #254EE1; }
<div style="border:3px solid #254EE1">Div</div>
This div border color is #254EE1.
.myOpacity80 { color: #254EE1; opacity: 0.8; }
<p style="color:#254EE1;opacity:0.8;">80%</p>
Text with #254EE1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #254EE1;}
<p style="text-shadow: 3px 3px 1px #254EE1">Text here.</p>
This text has shadow with #254EE1 color.
.textShadow {text-shadow: 3px 3px 1px #254EE1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #254EE1, 5px 5px 20px red">Text here.</p>
This text has shadow with #254EE1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#254EE1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#254EE1, Direction=45, Strength=4)">Text</p>
This text has shadow with #254EE1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #254EE1; -webkit-box-shadow: 1px 1px 3px 2px #254EE1; box-shadow: 1px 1px 3px 2px #254EE1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #254EE1; -webkit-box-shadow: 1px 1px 3px 2px #254EE1; box-shadow:1px 1px 3px 2px #254EE1;">
Div content here</div>
This text has color #254EE1 on black background.
This text has color #254EE1 on white background.
This text has black color on #254EE1 background.
This text has white color on #254EE1 background.