HEX: #C671F2
RGB: (198,113,242)
#C671F2 contains mainly red and blue colors. Web safe color of #C671F2 is #CC66FF (or #C6F).
#C671F2 color RGB value is (198,113,242).
RGB: (198,113,242) (78%,44%,95%)
R 198 of 255 = 78%
G 113 of 255 = 44%
B 242 of 255 = 95%
R + G + B ~ 72%. #C671F2 is quite light color.
R + G + B =
198 + 113 + 242 = 553 (100%)
R 198 of 553 ~ 35.8%
G 113 of 553 ~ 20.43%
B 242 of 553 ~ 43.76%
#C671F2 color CMYK value is (18,53,0,5).
CMYK: (18,53,0,5) C18M53Y0K5 (18%,53%,0%,5%) (0.18/0.53/0.00/0.05)
C6 | 71 | F2 | |
---|---|---|---|
RGB | 198 | 113 | 242 |
HSL | 280° | 83.23% | 69.61% |
HSB/HSV | 280° | 53.31% | 94.90% |
CMYK | 18.18% | 53.31% | 0.00% |
5.10% |
HEX | C6 | 71 | F2 |
Decimal | 198 | 113 | 242 |
Binary | 11000110 | 1110001 | 11110010 |
Octal | 306 | 161 | 362 |
Examples of css and html codes for elements with #C671F2 color. Also use rgb(198,113,242) instead hex code.
.myTextColor { color: #C671F2; }
<p style="color:#C671F2">This sample text font color is #C671F2.</p>
This text font color is #C671F2.
.myBgColor { background-color: #C671F2; }
<div style="background-color:#C671F2">Inner text</div>
This div background color is #C671F2.
.myBorderColor { border: 1px solid #C671F2; }
<div style="border:3px solid #C671F2">Div</div>
This div border color is #C671F2.
.myOpacity80 { color: #C671F2; opacity: 0.8; }
<p style="color:#C671F2;opacity:0.8;">80%</p>
Text with #C671F2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C671F2;}
<p style="text-shadow: 3px 3px 1px #C671F2">Text here.</p>
This text has shadow with #C671F2 color.
.textShadow {text-shadow: 3px 3px 1px #C671F2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C671F2, 5px 5px 20px red">Text here.</p>
This text has shadow with #C671F2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C671F2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C671F2, Direction=45, Strength=4)">Text</p>
This text has shadow with #C671F2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C671F2; -webkit-box-shadow: 1px 1px 3px 2px #C671F2; box-shadow: 1px 1px 3px 2px #C671F2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C671F2; -webkit-box-shadow: 1px 1px 3px 2px #C671F2; box-shadow:1px 1px 3px 2px #C671F2;">
Div content here</div>
This text has color #C671F2 on black background.
This text has color #C671F2 on white background.
This text has black color on #C671F2 background.
This text has white color on #C671F2 background.