COLOR #C798E2

HEX: #C798E2 RGB: (199,152,226)

Color info

#C798E2 contains mainly red and blue colors. Web safe color of #C798E2 is #CC99CC (or #C9C).

RGB color model

#C798E2 color RGB value is (199,152,226).

RGB: (199,152,226) (78%, 60%, 89%)

RGB channels and saturation

R 199 of 255 = 78%
G 152 of 255 = 60%
B 226 of 255 = 89%

199
152
226

R + G + B ~ 76%. #C798E2 is quite light color.

Portions of RGB colors in percentages

R + G + B = 199 + 152 + 226 = 577 (100%)
R 199 of 577 ~ 34.49%
G 152 of 577 ~ 26.34%
B 226 of 577 ~ 39.17'%

%34.49
%26.34
%39.17

CMYK color model

#C798E2 color CMYK value is (12,33,0,11).

  • cyan value is 11.95%
  • magenta value is 32.74%
  • yellow value is 0.00%
  • key color value is 11.37%

CMYK: (12,33,0,11)
C12M33Y0K11 (12%, 33%, 0%, 11%)
(0.12 / 0.33 / 0.00 / 0.11)

CMYK percentages

%11.95
%32.74
%0
%11.37

Codes

Color #C798E2 in popluar color models

C7 98 E2
RGB 199 152 226
HSL 278° 56.06% 74.12%
HSB/HSV 278° 32.74% 88.63%
CMYK 11.95% 32.74% 0.00%
11.37%

Color #C798E2 in popluar number systems.

HEX C7 98 E2
Decimal 199 152 226
Binary 11000111 10011000 11100010
Octal 307 230 342

Shades and tints

Shades of #C798E2

#C798E2
(199,152,226)
#B58BCE
(181,139,206)
#A37EBA
(163,126,186)
#9171A6
(145,113,166)
#7F6492
(127,100,146)
#6D577E
(109,87,126)
#5B4A6A
(91,74,106)
#493D56
(73,61,86)
#373042
(55,48,66)
#25232E
(37,35,46)
#13161A
(19,22,26)
#000000
(0,0,0)

Tints of #C798E2

#C798E2
(199,152,226)
#CCA1E4
(204,161,228)
#D1AAE6
(209,170,230)
#D6B3E8
(214,179,232)
#DBBCEA
(219,188,234)
#E0C5EC
(224,197,236)
#E5CEEE
(229,206,238)
#EAD7F0
(234,215,240)
#EFE0F2
(239,224,242)
#F4E9F4
(244,233,244)
#F9F2F6
(249,242,246)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #C798E2 color. Also use rgb(199,152,226) instead hex code.

Text Font Color

.myTextColor { color: #C798E2; }

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

This text font color is #C798E2.

Background Color

.myBgColor { background-color: #C798E2; }

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

This div background color is #C798E2.

Border color

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

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

This div border color is #C798E2.

Opacity

.myOpacity80 { color: #C798E2; opacity: 0.8; }

<p style="color:#C798E2;opacity:0.8;">80%</p>

Text with #C798E2 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 #C798E2;}

<p style="text-shadow: 3px 3px 1px #C798E2">Text here.</p>

This text has shadow with #C798E2 color.


.textShadow {text-shadow: 3px 3px 1px #C798E2', 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #C798E2, 5px 5px 20px red">Text here.</p>

This text has shadow with #C798E2 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C798E2, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#C798E2, Direction=45, Strength=4)">Text</p>

This text has shadow with #C798E2 and red colors in old Internet Explorer.

Div box shadow color

/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #C798E2;
-webkit-box-shadow: 1px 1px 3px 2px #C798E2;
box-shadow: 1px 1px 3px 2px #C798E2;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #C798E2; -webkit-box-shadow: 1px 1px 3px 2px #C798E2; box-shadow:1px 1px 3px 2px #C798E2;">
Div content here
</div>

This div box has shadow with color #C798E2.

Preview

Color preview on black background

This text has color #C798E2 on black background.


Color preview on white background

This text has color #C798E2 on white background.


Black color preview on #C798E2 background

This text has black color on #C798E2 background.


White color preview on #C798E2 background

This text has white color on #C798E2 background.


Related colors

Complementary color

Complementary color for #hex is #38671D.


I love getcolorcode.com

Triadic colors

1 #E2C798 and #98E2C7 with #C798E2 are triadic colors.

2 #E298C7 and #98C7E2 with #C798E2 are triadic colors.