HEX: #898EE1
RGB: (137,142,225)
#898EE1 contains mainly blue color. Web safe color of #898EE1 is #9999CC (or #99C).
#898EE1 color RGB value is (137,142,225).
RGB: (137,142,225) (54%,56%,88%)
R 137 of 255 = 54%
G 142 of 255 = 56%
B 225 of 255 = 88%
R + G + B ~ 66%. #898EE1 is quite light color.
R + G + B =
137 + 142 + 225 = 504 (100%)
R 137 of 504 ~ 27.18%
G 142 of 504 ~ 28.17%
B 225 of 504 ~ 44.64%
#898EE1 color CMYK value is (39,37,0,12).
CMYK: (39,37,0,12) C39M37Y0K12 (39%,37%,0%,12%) (0.39/0.37/0.00/0.12)
89 | 8E | E1 | |
---|---|---|---|
RGB | 137 | 142 | 225 |
HSL | 237° | 59.46% | 70.98% |
HSB/HSV | 237° | 39.11% | 88.24% |
CMYK | 39.11% | 36.89% | 0.00% |
11.76% |
HEX | 89 | 8E | E1 |
Decimal | 137 | 142 | 225 |
Binary | 10001001 | 10001110 | 11100001 |
Octal | 211 | 216 | 341 |
Examples of css and html codes for elements with #898EE1 color. Also use rgb(137,142,225) instead hex code.
.myTextColor { color: #898EE1; }
<p style="color:#898EE1">This sample text font color is #898EE1.</p>
This text font color is #898EE1.
.myBgColor { background-color: #898EE1; }
<div style="background-color:#898EE1">Inner text</div>
This div background color is #898EE1.
.myBorderColor { border: 1px solid #898EE1; }
<div style="border:3px solid #898EE1">Div</div>
This div border color is #898EE1.
.myOpacity80 { color: #898EE1; opacity: 0.8; }
<p style="color:#898EE1;opacity:0.8;">80%</p>
Text with #898EE1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #898EE1;}
<p style="text-shadow: 3px 3px 1px #898EE1">Text here.</p>
This text has shadow with #898EE1 color.
.textShadow {text-shadow: 3px 3px 1px #898EE1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #898EE1, 5px 5px 20px red">Text here.</p>
This text has shadow with #898EE1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#898EE1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#898EE1, Direction=45, Strength=4)">Text</p>
This text has shadow with #898EE1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #898EE1; -webkit-box-shadow: 1px 1px 3px 2px #898EE1; box-shadow: 1px 1px 3px 2px #898EE1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #898EE1; -webkit-box-shadow: 1px 1px 3px 2px #898EE1; box-shadow:1px 1px 3px 2px #898EE1;">
Div content here</div>
This text has color #898EE1 on black background.
This text has color #898EE1 on white background.
This text has black color on #898EE1 background.
This text has white color on #898EE1 background.