COLOR #C798EE

HEX: #C798EE
RGB: (199,152,238)

Color info

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

RGB color model

#C798EE color RGB value is (199,152,238).

  • red value is 199;
  • green value is 152;
  • blue value is 238.
RGB:
(199,152,238)
(78%,60%,93%)

RGB channels and saturation

R 199 of 255 = 78%
G 152 of 255 = 60%
B 238 of 255 = 93%

199
152
238

R + G + B ~ 77%. #C798EE is quite light color.

Portions of RGB colors in percentages

R + G + B =
199 + 152 + 238 = 589 (100%)
R 199 of 589 ~ 33.79%
G 152 of 589 ~ 25.81%
B 238 of 589 ~ 40.41%

%33.79
%25.81
%40.41

CMYK color model

#C798EE color CMYK value is (16,36,0,7).

  • cyan value is 16.39%
  • magenta value is 36.13%
  • yellow value is 0.00%
  • key color value is 6.67%
CMYK:
(16,36,0,7)
C16M36Y0K7 
(16%,36%,0%,7%)
(0.16/0.36/0.00/0.07)	

CMYK percentages

%16.39
%36.13
%0
%6.67

Codes

Color #C798EE in popluar color models

C798EE
RGB199152238
HSL273°71.67%76.47%
HSB/HSV273°36.13%93.33%
CMYK16.39%36.13%0.00%
6.67%

Color #C798EE in popluar number systems.

HEXC798EE
Decimal199152238
Binary110001111001100011101110
Octal307230356

Shades and tints

Shades of #C798EE

#C798EE
(199,152,238)
#B58BD9
(181,139,217)
#A37EC4
(163,126,196)
#9171AF
(145,113,175)
#7F649A
(127,100,154)
#6D5785
(109,87,133)
#5B4A70
(91,74,112)
#493D5B
(73,61,91)
#373046
(55,48,70)
#252331
(37,35,49)
#13161C
(19,22,28)
#000000
(0,0,0)

Tints of #C798EE

#C798EE
(199,152,238)
#CCA1EF
(204,161,239)
#D1AAF0
(209,170,240)
#D6B3F1
(214,179,241)
#DBBCF2
(219,188,242)
#E0C5F3
(224,197,243)
#E5CEF4
(229,206,244)
#EAD7F5
(234,215,245)
#EFE0F6
(239,224,246)
#F4E9F7
(244,233,247)
#F9F2F8
(249,242,248)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #C798EE; }

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

This text font color is #C798EE.


Background Color

.myBgColor { background-color: #C798EE; }

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

This div background color is #C798EE.


Border color

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

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

This div border color is #C798EE.


Opacity

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

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

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

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

This text has shadow with #C798EE color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #C798EE on black background.


Color preview on white background

This text has color #C798EE on white background.



Black color preview on #C798EE background

This text has black color on #C798EE background.


White color preview on #C798EE background

This text has white color on #C798EE background.