HEX: #8E78AF
RGB: (142,120,175)
#8E78AF contains red, green and blue colors in about the same proportion. Web safe color of #8E78AF is #996699 (or #969).
#8E78AF color RGB value is (142,120,175).
RGB: (142,120,175) (56%,47%,69%)
R 142 of 255 = 56%
G 120 of 255 = 47%
B 175 of 255 = 69%
R + G + B ~ 57%. #8E78AF is middle color (not dark and not light).
R + G + B =
142 + 120 + 175 = 437 (100%)
R 142 of 437 ~ 32.49%
G 120 of 437 ~ 27.46%
B 175 of 437 ~ 40.05%
#8E78AF color CMYK value is (19,31,0,31).
CMYK: (19,31,0,31) C19M31Y0K31 (19%,31%,0%,31%) (0.19/0.31/0.00/0.31)
8E | 78 | AF | |
---|---|---|---|
RGB | 142 | 120 | 175 |
HSL | 264° | 25.58% | 57.84% |
HSB/HSV | 264° | 31.43% | 68.63% |
CMYK | 18.86% | 31.43% | 0.00% |
31.37% |
HEX | 8E | 78 | AF |
Decimal | 142 | 120 | 175 |
Binary | 10001110 | 1111000 | 10101111 |
Octal | 216 | 170 | 257 |
Examples of css and html codes for elements with #8E78AF color. Also use rgb(142,120,175) instead hex code.
.myTextColor { color: #8E78AF; }
<p style="color:#8E78AF">This sample text font color is #8E78AF.</p>
This text font color is #8E78AF.
.myBgColor { background-color: #8E78AF; }
<div style="background-color:#8E78AF">Inner text</div>
This div background color is #8E78AF.
.myBorderColor { border: 1px solid #8E78AF; }
<div style="border:3px solid #8E78AF">Div</div>
This div border color is #8E78AF.
.myOpacity80 { color: #8E78AF; opacity: 0.8; }
<p style="color:#8E78AF;opacity:0.8;">80%</p>
Text with #8E78AF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8E78AF;}
<p style="text-shadow: 3px 3px 1px #8E78AF">Text here.</p>
This text has shadow with #8E78AF color.
.textShadow {text-shadow: 3px 3px 1px #8E78AF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8E78AF, 5px 5px 20px red">Text here.</p>
This text has shadow with #8E78AF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8E78AF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8E78AF, Direction=45, Strength=4)">Text</p>
This text has shadow with #8E78AF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8E78AF; -webkit-box-shadow: 1px 1px 3px 2px #8E78AF; box-shadow: 1px 1px 3px 2px #8E78AF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8E78AF; -webkit-box-shadow: 1px 1px 3px 2px #8E78AF; box-shadow:1px 1px 3px 2px #8E78AF;">
Div content here</div>
This text has color #8E78AF on black background.
This text has color #8E78AF on white background.
This text has black color on #8E78AF background.
This text has white color on #8E78AF background.