HEX: #C6338A
RGB: (198,51,138)
#C6338A contains mainly red color. Web safe color of #C6338A is #CC3399 (or #C39).
#C6338A color RGB value is (198,51,138).
RGB: (198,51,138) (78%,20%,54%)
R 198 of 255 = 78%
G 51 of 255 = 20%
B 138 of 255 = 54%
R + G + B ~ 51%. #C6338A is middle color (not dark and not light).
R + G + B =
198 + 51 + 138 = 387 (100%)
R 198 of 387 ~ 51.16%
G 51 of 387 ~ 13.18%
B 138 of 387 ~ 35.66%
#C6338A color CMYK value is (0,74,30,22).
CMYK: (0,74,30,22) C0M74Y30K22 (0%,74%,30%,22%) (0.00/0.74/0.30/0.22)
C6 | 33 | 8A | |
---|---|---|---|
RGB | 198 | 51 | 138 |
HSL | 324° | 59.04% | 48.82% |
HSB/HSV | 324° | 74.24% | 77.65% |
CMYK | 0.00% | 74.24% | 30.30% |
22.35% |
HEX | C6 | 33 | 8A |
Decimal | 198 | 51 | 138 |
Binary | 11000110 | 110011 | 10001010 |
Octal | 306 | 63 | 212 |
Examples of css and html codes for elements with #C6338A color. Also use rgb(198,51,138) instead hex code.
.myTextColor { color: #C6338A; }
<p style="color:#C6338A">This sample text font color is #C6338A.</p>
This text font color is #C6338A.
.myBgColor { background-color: #C6338A; }
<div style="background-color:#C6338A">Inner text</div>
This div background color is #C6338A.
.myBorderColor { border: 1px solid #C6338A; }
<div style="border:3px solid #C6338A">Div</div>
This div border color is #C6338A.
.myOpacity80 { color: #C6338A; opacity: 0.8; }
<p style="color:#C6338A;opacity:0.8;">80%</p>
Text with #C6338A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6338A;}
<p style="text-shadow: 3px 3px 1px #C6338A">Text here.</p>
This text has shadow with #C6338A color.
.textShadow {text-shadow: 3px 3px 1px #C6338A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6338A, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6338A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6338A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6338A, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6338A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6338A; -webkit-box-shadow: 1px 1px 3px 2px #C6338A; box-shadow: 1px 1px 3px 2px #C6338A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6338A; -webkit-box-shadow: 1px 1px 3px 2px #C6338A; box-shadow:1px 1px 3px 2px #C6338A;">
Div content here</div>
This text has color #C6338A on black background.
This text has color #C6338A on white background.
This text has black color on #C6338A background.
This text has white color on #C6338A background.