HEX: #C6A6DB
RGB: (198,166,219)
#C6A6DB contains red, green and blue colors in about the same proportion. Web safe color of #C6A6DB is #CC99CC (or #C9C).
#C6A6DB color RGB value is (198,166,219).
RGB: (198,166,219)
(78%, 65%, 86%)
R 198 of 255 = 78%
G 166 of 255 = 65%
B 219 of 255 = 86%
R + G + B ~ 76%. #C6A6DB is quite light color.
R + G + B = 198 + 166 + 219 = 583 (100%)
R 198 of 583 ~ 33.96%
G 166 of 583 ~ 28.47%
B 219 of 583 ~ 37.56'%
#C6A6DB color CMYK value is (10,24,0,14).
CMYK: (10,24,0,14) C10M24Y0K14 (10%,24%,0%,14%) (0.10/0.24/0.00/0.14)
Color #C6A6DB in popluar color models
C6 | A6 | DB | |
---|---|---|---|
RGB | 198 | 166 | 219 |
HSL | 276° | 42.40% | 75.49% |
HSB/HSV | 276° | 24.20% | 85.88% |
CMYK | 9.59% | 24.20% | 0.00% |
14.12% |
Color #C6A6DB in popluar number systems.
HEX | C6 | A6 | DB |
Decimal | 198 | 166 | 219 |
Binary | 11000110 | 10100110 | 11011011 |
Octal | 306 | 246 | 333 |
Shades of #C6A6DB
Tints of #C6A6DB
Examples of css and html codes for elements with #C6A6DB color. Also use rgb(198,166,219) instead hex code.
.myTextColor { color: #C6A6DB; }
<p style="color:#C6A6DB">This sample text font color is #C6A6DB.</p>
This text font color is #C6A6DB.
.myBgColor { background-color: #C6A6DB; }
<div style="background-color:#C6A6DB">Inner text</div>
This div background color is #C6A6DB.
.myBorderColor { border: 1px solid #C6A6DB; }
<div style="border:3px solid #C6A6DB">Div</div>
This div border color is #C6A6DB.
.myOpacity80 { color: #C6A6DB; opacity: 0.8; }
<p style="color:#C6A6DB;opacity:0.8;">80%</p>
Text with #C6A6DB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6A6DB;}
<p style="text-shadow: 3px 3px 1px #C6A6DB">Text here.</p>
This text has shadow with #C6A6DB color.
.textShadow {text-shadow: 3px 3px 1px #C6A6DB', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6A6DB, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6A6DB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6A6DB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6A6DB, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6A6DB and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #C6A6DB;
-webkit-box-shadow: 1px 1px 3px 2px #C6A6DB;
box-shadow: 1px 1px 3px 2px #C6A6DB;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #C6A6DB; -webkit-box-shadow: 1px 1px 3px 2px #C6A6DB; box-shadow:1px 1px 3px 2px #C6A6DB;">
Div content here
</div>
This text has color #C6A6DB on black background.
This text has color #C6A6DB on white background.
This text has black color on #C6A6DB background.
This text has white color on #C6A6DB background.
Complementary color for #hex is #395924.