HEX: #897EDE
RGB: (137,126,222)
#897EDE contains mainly blue color. Web safe color of #897EDE is #9966CC (or #96C).
#897EDE color RGB value is (137,126,222).
RGB: (137,126,222) (54%,49%,87%)
R 137 of 255 = 54%
G 126 of 255 = 49%
B 222 of 255 = 87%
R + G + B ~ 63%. #897EDE is quite light color.
R + G + B =
137 + 126 + 222 = 485 (100%)
R 137 of 485 ~ 28.25%
G 126 of 485 ~ 25.98%
B 222 of 485 ~ 45.77%
#897EDE color CMYK value is (38,43,0,13).
CMYK: (38,43,0,13) C38M43Y0K13 (38%,43%,0%,13%) (0.38/0.43/0.00/0.13)
89 | 7E | DE | |
---|---|---|---|
RGB | 137 | 126 | 222 |
HSL | 247° | 59.26% | 68.24% |
HSB/HSV | 247° | 43.24% | 87.06% |
CMYK | 38.29% | 43.24% | 0.00% |
12.94% |
HEX | 89 | 7E | DE |
Decimal | 137 | 126 | 222 |
Binary | 10001001 | 1111110 | 11011110 |
Octal | 211 | 176 | 336 |
Examples of css and html codes for elements with #897EDE color. Also use rgb(137,126,222) instead hex code.
.myTextColor { color: #897EDE; }
<p style="color:#897EDE">This sample text font color is #897EDE.</p>
This text font color is #897EDE.
.myBgColor { background-color: #897EDE; }
<div style="background-color:#897EDE">Inner text</div>
This div background color is #897EDE.
.myBorderColor { border: 1px solid #897EDE; }
<div style="border:3px solid #897EDE">Div</div>
This div border color is #897EDE.
.myOpacity80 { color: #897EDE; opacity: 0.8; }
<p style="color:#897EDE;opacity:0.8;">80%</p>
Text with #897EDE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #897EDE;}
<p style="text-shadow: 3px 3px 1px #897EDE">Text here.</p>
This text has shadow with #897EDE color.
.textShadow {text-shadow: 3px 3px 1px #897EDE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #897EDE, 5px 5px 20px red">Text here.</p>
This text has shadow with #897EDE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#897EDE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#897EDE, Direction=45, Strength=4)">Text</p>
This text has shadow with #897EDE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #897EDE; -webkit-box-shadow: 1px 1px 3px 2px #897EDE; box-shadow: 1px 1px 3px 2px #897EDE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #897EDE; -webkit-box-shadow: 1px 1px 3px 2px #897EDE; box-shadow:1px 1px 3px 2px #897EDE;">
Div content here</div>
This text has color #897EDE on black background.
This text has color #897EDE on white background.
This text has black color on #897EDE background.
This text has white color on #897EDE background.