COLOR #CD98F8

HEX: #CD98F8
RGB: (205,152,248)

Color info

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

RGB color model

#CD98F8 color RGB value is (205,152,248).

  • red value is 205;
  • green value is 152;
  • blue value is 248.
RGB: (205,152,248) (80%,60%,97%)

RGB channels and saturation

R 205 of 255 = 80%
G 152 of 255 = 60%
B 248 of 255 = 97%

205
152
248

R + G + B ~ 79%. #CD98F8 is quite light color.

Portions of RGB colors in percentages

R + G + B =
205 + 152 + 248 = 605 (100%)
R 205 of 605 ~ 33.88%
G 152 of 605 ~ 25.12%
B 248 of 605 ~ 40.99%

%33.88
%25.12
%40.99

CMYK color model

#CD98F8 color CMYK value is (17,39,0,3).

  • cyan value is 17.34%
  • magenta value is 38.71%
  • yellow value is 0.00%
  • key color value is 2.75%
CMYK: (17,39,0,3) C17M39Y0K3 (17%,39%,0%,3%) (0.17/0.39/0.00/0.03)

CMYK percentages

%17.34
%38.71
%0
%2.75

Codes

Color #CD98F8 in popluar color models

CD98F8
RGB205152248
HSL273°87.27%78.43%
HSB/HSV273°38.71%97.25%
CMYK17.34%38.71%0.00%
2.75%

Color #CD98F8 in popluar number systems.

HEXCD98F8
Decimal205152248
Binary110011011001100011111000
Octal315230370

Shades and tints

Shades of #CD98F8

#CD98F8
(205,152,248)
#BB8BE2
(187,139,226)
#A97ECC
(169,126,204)
#9771B6
(151,113,182)
#8564A0
(133,100,160)
#73578A
(115,87,138)
#614A74
(97,74,116)
#4F3D5E
(79,61,94)
#3D3048
(61,48,72)
#2B2332
(43,35,50)
#19161C
(25,22,28)
#000000
(0,0,0)

Tints of #CD98F8

#CD98F8
(205,152,248)
#D1A1F8
(209,161,248)
#D5AAF8
(213,170,248)
#D9B3F8
(217,179,248)
#DDBCF8
(221,188,248)
#E1C5F8
(225,197,248)
#E5CEF8
(229,206,248)
#E9D7F8
(233,215,248)
#EDE0F8
(237,224,248)
#F1E9F8
(241,233,248)
#F5F2F8
(245,242,248)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #CD98F8 color. Also use rgb(205,152,248) instead hex code.

Text Font Color

.myTextColor { color: #CD98F8; }

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

This text font color is #CD98F8.


Background Color

.myBgColor { background-color: #CD98F8; }

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

This div background color is #CD98F8.


Border color

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

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

This div border color is #CD98F8.


Opacity

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

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

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

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

This text has shadow with #CD98F8 color.

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

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

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


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

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

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


Div box shadow color

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

Preview

Color preview on black background

This text has color #CD98F8 on black background.


Color preview on white background

This text has color #CD98F8 on white background.



Black color preview on #CD98F8 background

This text has black color on #CD98F8 background.


White color preview on #CD98F8 background

This text has white color on #CD98F8 background.