HEX: #C6A2D5
RGB: (198,162,213)
#C6A2D5 contains red, green and blue colors in about the same proportion. Web safe color of #C6A2D5 is #CC99CC (or #C9C).
#C6A2D5 color RGB value is (198,162,213).
RGB: (198,162,213) (78%,64%,84%)
R 198 of 255 = 78%
G 162 of 255 = 64%
B 213 of 255 = 84%
R + G + B ~ 75%. #C6A2D5 is quite light color.
R + G + B =
198 + 162 + 213 = 573 (100%)
R 198 of 573 ~ 34.55%
G 162 of 573 ~ 28.27%
B 213 of 573 ~ 37.17%
#C6A2D5 color CMYK value is (7,24,0,16).
CMYK: (7,24,0,16) C7M24Y0K16 (7%,24%,0%,16%) (0.07/0.24/0.00/0.16)
C6 | A2 | D5 | |
---|---|---|---|
RGB | 198 | 162 | 213 |
HSL | 282° | 37.78% | 73.53% |
HSB/HSV | 282° | 23.94% | 83.53% |
CMYK | 7.04% | 23.94% | 0.00% |
16.47% |
HEX | C6 | A2 | D5 |
Decimal | 198 | 162 | 213 |
Binary | 11000110 | 10100010 | 11010101 |
Octal | 306 | 242 | 325 |
Examples of css and html codes for elements with #C6A2D5 color. Also use rgb(198,162,213) instead hex code.
.myTextColor { color: #C6A2D5; }
<p style="color:#C6A2D5">This sample text font color is #C6A2D5.</p>
This text font color is #C6A2D5.
.myBgColor { background-color: #C6A2D5; }
<div style="background-color:#C6A2D5">Inner text</div>
This div background color is #C6A2D5.
.myBorderColor { border: 1px solid #C6A2D5; }
<div style="border:3px solid #C6A2D5">Div</div>
This div border color is #C6A2D5.
.myOpacity80 { color: #C6A2D5; opacity: 0.8; }
<p style="color:#C6A2D5;opacity:0.8;">80%</p>
Text with #C6A2D5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6A2D5;}
<p style="text-shadow: 3px 3px 1px #C6A2D5">Text here.</p>
This text has shadow with #C6A2D5 color.
.textShadow {text-shadow: 3px 3px 1px #C6A2D5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6A2D5, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6A2D5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6A2D5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6A2D5, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6A2D5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6A2D5; -webkit-box-shadow: 1px 1px 3px 2px #C6A2D5; box-shadow: 1px 1px 3px 2px #C6A2D5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6A2D5; -webkit-box-shadow: 1px 1px 3px 2px #C6A2D5; box-shadow:1px 1px 3px 2px #C6A2D5;">
Div content here</div>
This text has color #C6A2D5 on black background.
This text has color #C6A2D5 on white background.
This text has black color on #C6A2D5 background.
This text has white color on #C6A2D5 background.