HEX: #ECB2FF
RGB: (236,178,255)
#ECB2FF contains mainly red and blue colors. Web safe color of #ECB2FF is #FF99FF (or #F9F).
#ECB2FF color RGB value is (236,178,255).
RGB: (236,178,255) (93%,70%,100%)
R 236 of 255 = 93%
G 178 of 255 = 70%
B 255 of 255 = 100%
R + G + B ~ 88%. #ECB2FF is light color.
R + G + B =
236 + 178 + 255 = 669 (100%)
R 236 of 669 ~ 35.28%
G 178 of 669 ~ 26.61%
B 255 of 669 ~ 38.12%
#ECB2FF color CMYK value is (7,30,0,0).
CMYK: (7,30,0,0) C7M30Y0K0 (7%,30%,0%,0%) (0.07/0.30/0.00/0.00)
EC | B2 | FF | |
---|---|---|---|
RGB | 236 | 178 | 255 |
HSL | 285° | 100.00% | 84.90% |
HSB/HSV | 285° | 30.20% | 100.00% |
CMYK | 7.45% | 30.20% | 0.00% |
0.00% |
HEX | EC | B2 | FF |
Decimal | 236 | 178 | 255 |
Binary | 11101100 | 10110010 | 11111111 |
Octal | 354 | 262 | 377 |
Examples of css and html codes for elements with #ECB2FF color. Also use rgb(236,178,255) instead hex code.
.myTextColor { color: #ECB2FF; }
<p style="color:#ECB2FF">This sample text font color is #ECB2FF.</p>
This text font color is #ECB2FF.
.myBgColor { background-color: #ECB2FF; }
<div style="background-color:#ECB2FF">Inner text</div>
This div background color is #ECB2FF.
.myBorderColor { border: 1px solid #ECB2FF; }
<div style="border:3px solid #ECB2FF">Div</div>
This div border color is #ECB2FF.
.myOpacity80 { color: #ECB2FF; opacity: 0.8; }
<p style="color:#ECB2FF;opacity:0.8;">80%</p>
Text with #ECB2FF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #ECB2FF;}
<p style="text-shadow: 3px 3px 1px #ECB2FF">Text here.</p>
This text has shadow with #ECB2FF color.
.textShadow {text-shadow: 3px 3px 1px #ECB2FF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #ECB2FF, 5px 5px 20px red">Text here.</p>
This text has shadow with #ECB2FF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#ECB2FF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#ECB2FF, Direction=45, Strength=4)">Text</p>
This text has shadow with #ECB2FF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #ECB2FF; -webkit-box-shadow: 1px 1px 3px 2px #ECB2FF; box-shadow: 1px 1px 3px 2px #ECB2FF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #ECB2FF; -webkit-box-shadow: 1px 1px 3px 2px #ECB2FF; box-shadow:1px 1px 3px 2px #ECB2FF;">
Div content here</div>
This text has color #ECB2FF on black background.
This text has color #ECB2FF on white background.
This text has black color on #ECB2FF background.
This text has white color on #ECB2FF background.