HEX: #CEB2DA
RGB: (206,178,218)
#CEB2DA contains red, green and blue colors in about the same proportion. Web safe color of #CEB2DA is #CC99CC (or #C9C).
#CEB2DA color RGB value is (206,178,218).
RGB: (206,178,218) (81%,70%,85%)
R 206 of 255 = 81%
G 178 of 255 = 70%
B 218 of 255 = 85%
R + G + B ~ 79%. #CEB2DA is quite light color.
R + G + B =
206 + 178 + 218 = 602 (100%)
R 206 of 602 ~ 34.22%
G 178 of 602 ~ 29.57%
B 218 of 602 ~ 36.21%
#CEB2DA color CMYK value is (6,18,0,15).
CMYK: (6,18,0,15) C6M18Y0K15 (6%,18%,0%,15%) (0.06/0.18/0.00/0.15)
CE | B2 | DA | |
---|---|---|---|
RGB | 206 | 178 | 218 |
HSL | 282° | 35.09% | 77.65% |
HSB/HSV | 282° | 18.35% | 85.49% |
CMYK | 5.50% | 18.35% | 0.00% |
14.51% |
HEX | CE | B2 | DA |
Decimal | 206 | 178 | 218 |
Binary | 11001110 | 10110010 | 11011010 |
Octal | 316 | 262 | 332 |
Examples of css and html codes for elements with #CEB2DA color. Also use rgb(206,178,218) instead hex code.
.myTextColor { color: #CEB2DA; }
<p style="color:#CEB2DA">This sample text font color is #CEB2DA.</p>
This text font color is #CEB2DA.
.myBgColor { background-color: #CEB2DA; }
<div style="background-color:#CEB2DA">Inner text</div>
This div background color is #CEB2DA.
.myBorderColor { border: 1px solid #CEB2DA; }
<div style="border:3px solid #CEB2DA">Div</div>
This div border color is #CEB2DA.
.myOpacity80 { color: #CEB2DA; opacity: 0.8; }
<p style="color:#CEB2DA;opacity:0.8;">80%</p>
Text with #CEB2DA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CEB2DA;}
<p style="text-shadow: 3px 3px 1px #CEB2DA">Text here.</p>
This text has shadow with #CEB2DA color.
.textShadow {text-shadow: 3px 3px 1px #CEB2DA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CEB2DA, 5px 5px 20px red">Text here.</p>
This text has shadow with #CEB2DA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CEB2DA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CEB2DA, Direction=45, Strength=4)">Text</p>
This text has shadow with #CEB2DA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CEB2DA; -webkit-box-shadow: 1px 1px 3px 2px #CEB2DA; box-shadow: 1px 1px 3px 2px #CEB2DA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CEB2DA; -webkit-box-shadow: 1px 1px 3px 2px #CEB2DA; box-shadow:1px 1px 3px 2px #CEB2DA;">
Div content here</div>
This text has color #CEB2DA on black background.
This text has color #CEB2DA on white background.
This text has black color on #CEB2DA background.
This text has white color on #CEB2DA background.