HEX: #EC6C9A
RGB: (236,108,154)
#EC6C9A contains mainly red color. Web safe color of #EC6C9A is #FF6699 (or #F69).
#EC6C9A color RGB value is (236,108,154).
RGB: (236,108,154) (93%,42%,60%)
R 236 of 255 = 93%
G 108 of 255 = 42%
B 154 of 255 = 60%
R + G + B ~ 65%. #EC6C9A is quite light color.
R + G + B =
236 + 108 + 154 = 498 (100%)
R 236 of 498 ~ 47.39%
G 108 of 498 ~ 21.69%
B 154 of 498 ~ 30.92%
#EC6C9A color CMYK value is (0,54,35,7).
CMYK: (0,54,35,7) C0M54Y35K7 (0%,54%,35%,7%) (0.00/0.54/0.35/0.07)
EC | 6C | 9A | |
---|---|---|---|
RGB | 236 | 108 | 154 |
HSL | 338° | 77.11% | 67.45% |
HSB/HSV | 338° | 54.24% | 92.55% |
CMYK | 0.00% | 54.24% | 34.75% |
7.45% |
HEX | EC | 6C | 9A |
Decimal | 236 | 108 | 154 |
Binary | 11101100 | 1101100 | 10011010 |
Octal | 354 | 154 | 232 |
Examples of css and html codes for elements with #EC6C9A color. Also use rgb(236,108,154) instead hex code.
.myTextColor { color: #EC6C9A; }
<p style="color:#EC6C9A">This sample text font color is #EC6C9A.</p>
This text font color is #EC6C9A.
.myBgColor { background-color: #EC6C9A; }
<div style="background-color:#EC6C9A">Inner text</div>
This div background color is #EC6C9A.
.myBorderColor { border: 1px solid #EC6C9A; }
<div style="border:3px solid #EC6C9A">Div</div>
This div border color is #EC6C9A.
.myOpacity80 { color: #EC6C9A; opacity: 0.8; }
<p style="color:#EC6C9A;opacity:0.8;">80%</p>
Text with #EC6C9A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #EC6C9A;}
<p style="text-shadow: 3px 3px 1px #EC6C9A">Text here.</p>
This text has shadow with #EC6C9A color.
.textShadow {text-shadow: 3px 3px 1px #EC6C9A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #EC6C9A, 5px 5px 20px red">Text here.</p>
This text has shadow with #EC6C9A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#EC6C9A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#EC6C9A, Direction=45, Strength=4)">Text</p>
This text has shadow with #EC6C9A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #EC6C9A; -webkit-box-shadow: 1px 1px 3px 2px #EC6C9A; box-shadow: 1px 1px 3px 2px #EC6C9A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #EC6C9A; -webkit-box-shadow: 1px 1px 3px 2px #EC6C9A; box-shadow:1px 1px 3px 2px #EC6C9A;">
Div content here</div>
This text has color #EC6C9A on black background.
This text has color #EC6C9A on white background.
This text has black color on #EC6C9A background.
This text has white color on #EC6C9A background.