COLOR #C796FB

HEX: #C796FB RGB: (199,150,251)

Color info

#C796FB contains mainly red and blue colors. Web safe color of #C796FB is #CC99FF (or #C9F).

RGB color model

#C796FB color RGB value is (199,150,251).

RGB: (199,150,251) (78%, 59%, 98%)

RGB channels and saturation

R 199 of 255 = 78%
G 150 of 255 = 59%
B 251 of 255 = 98%

199
150
251

R + G + B ~ 78%. #C796FB is quite light color.

Portions of RGB colors in percentages

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'%

%33.17
%25
%41.83

CMYK color model

#C796FB color CMYK value is (21,40,0,2).

  • cyan value is 20.72%
  • magenta value is 40.24%
  • yellow value is 0.00%
  • key color value is 1.57%

CMYK: (21,40,0,2)
C21M40Y0K2 (21%, 40%, 0%, 2%)
(0.21 / 0.40 / 0.00 / 0.02)

CMYK percentages

%20.72
%40.24
%0
%1.57

Codes

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 and tints

Shades of #C796FB

#C796FB
(199,150,251)
#B589E5
(181,137,229)
#A37CCF
(163,124,207)
#916FB9
(145,111,185)
#7F62A3
(127,98,163)
#6D558D
(109,85,141)
#5B4877
(91,72,119)
#493B61
(73,59,97)
#372E4B
(55,46,75)
#252135
(37,33,53)
#13141F
(19,20,31)
#000000
(0,0,0)

Tints of #C796FB

#C796FB
(199,150,251)
#CC9FFB
(204,159,251)
#D1A8FB
(209,168,251)
#D6B1FB
(214,177,251)
#DBBAFB
(219,186,251)
#E0C3FB
(224,195,251)
#E5CCFB
(229,204,251)
#EAD5FB
(234,213,251)
#EFDEFB
(239,222,251)
#F4E7FB
(244,231,251)
#F9F0FB
(249,240,251)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #C796FB color. Also use rgb(199,150,251) instead hex code.

Text Font Color

.myTextColor { color: #C796FB; }

<p style="color:#C796FB">This sample text font color is #C796FB.</p>

This text font color is #C796FB.

Background Color

.myBgColor { background-color: #C796FB; }

<div style="background-color:#C796FB">Inner text</div>

This div background color is #C796FB.

Border color

.myBorderColor { border: 1px solid #C796FB; }

<div style="border:3px solid #C796FB">Div</div>

This div border color is #C796FB.

Opacity

.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%.

Background with opacity value 100%.
Background with opacity value 80%.
Background with opacity value 50%.
Background with opacity value 30%.

Text shadow color

.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.

Div box shadow color

/* 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 div box has shadow with color #C796FB.

Preview

Color preview on black background

This text has color #C796FB on black background.


Color preview on white background

This text has color #C796FB on white background.


Black color preview on #C796FB background

This text has black color on #C796FB background.


White color preview on #C796FB background

This text has white color on #C796FB background.


Related colors

Complementary color

Complementary color for #hex is #386904.


I love getcolorcode.com

Triadic colors

1 #FBC796 and #96FBC7 with #C796FB are triadic colors.

2 #FB96C7 and #96C7FB with #C796FB are triadic colors.