HEX: #C796FB
RGB: (199,150,251)
#C796FB contains mainly red and blue colors. Web safe color of #C796FB is #CC99FF (or #C9F).
#C796FB color RGB value is (199,150,251).
RGB: (199,150,251)
(78%, 59%, 98%)
R 199 of 255 = 78%
G 150 of 255 = 59%
B 251 of 255 = 98%
R + G + B ~ 78%. #C796FB is quite light color.
R + G + B = 199 + 150 + 251 = 600 (100%)
R 199 of 600 ~ 33.17%
G 150 of 600 ~ 25%
B 251 of 600 ~ 41.83'%
#C796FB color CMYK value is (21,40,0,2).
CMYK: (21,40,0,2)
C21M40Y0K2 (21%, 40%, 0%, 2%)
(0.21 / 0.40 / 0.00 / 0.02)
Color #C796FB in popluar color models
C7 | 96 | FB | |
---|---|---|---|
RGB | 199 | 150 | 251 |
HSL | 269° | 92.66% | 78.63% |
HSB/HSV | 269° | 40.24% | 98.43% |
CMYK | 20.72% | 40.24% | 0.00% |
1.57% |
Color #C796FB in popluar number systems.
HEX | C7 | 96 | FB |
Decimal | 199 | 150 | 251 |
Binary | 11000111 | 10010110 | 11111011 |
Octal | 307 | 226 | 373 |
Shades of #C796FB
Tints of #C796FB
Examples of css and html codes for elements with #C796FB color. Also use rgb(199,150,251) instead hex code.
.myTextColor { color: #C796FB; }
<p style="color:#C796FB">This sample text font color is #C796FB.</p>
This text font color is #C796FB.
.myBgColor { background-color: #C796FB; }
<div style="background-color:#C796FB">Inner text</div>
This div background color is #C796FB.
.myBorderColor { border: 1px solid #C796FB; }
<div style="border:3px solid #C796FB">Div</div>
This div border color is #C796FB.
.myOpacity80 { color: #C796FB; opacity: 0.8; }
<p style="color:#C796FB;opacity:0.8;">80%</p>
Text with #C796FB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C796FB;}
<p style="text-shadow: 3px 3px 1px #C796FB">Text here.</p>
This text has shadow with #C796FB color.
.textShadow {text-shadow: 3px 3px 1px #C796FB', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C796FB, 5px 5px 20px red">Text here.</p>
This text has shadow with #C796FB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C796FB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C796FB, Direction=45, Strength=4)">Text</p>
This text has shadow with #C796FB and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #C796FB;
-webkit-box-shadow: 1px 1px 3px 2px #C796FB;
box-shadow: 1px 1px 3px 2px #C796FB;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #C796FB; -webkit-box-shadow: 1px 1px 3px 2px #C796FB; box-shadow:1px 1px 3px 2px #C796FB;">
Div content here
</div>
This text has color #C796FB on black background.
This text has color #C796FB on white background.
This text has black color on #C796FB background.
This text has white color on #C796FB background.
Complementary color for #hex is #386904.