COLOR #D796FA

HEX: #D796FA RGB: (215,150,250)

Color info

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

RGB color model

#D796FA color RGB value is (215,150,250).

RGB: (215,150,250) (84%, 59%, 98%)

RGB channels and saturation

R 215 of 255 = 84%
G 150 of 255 = 59%
B 250 of 255 = 98%

215
150
250

R + G + B ~ 80%. #D796FA is quite light color.

Portions of RGB colors in percentages

R + G + B = 215 + 150 + 250 = 615 (100%)
R 215 of 615 ~ 34.96%
G 150 of 615 ~ 24.39%
B 250 of 615 ~ 40.65'%

%34.96
%24.39
%40.65

CMYK color model

#D796FA color CMYK value is (14,40,0,2).

  • cyan value is 14.00%
  • magenta value is 40.00%
  • yellow value is 0.00%
  • key color value is 1.96%

CMYK: (14,40,0,2)
C14M40Y0K2 (14%, 40%, 0%, 2%)
(0.14 / 0.40 / 0.00 / 0.02)

CMYK percentages

%14
%40
%0
%1.96

Codes

Color #D796FA in popluar color models

D7 96 FA
RGB 215 150 250
HSL 279° 90.91% 78.43%
HSB/HSV 279° 40.00% 98.04%
CMYK 14.00% 40.00% 0.00%
1.96%

Color #D796FA in popluar number systems.

HEX D7 96 FA
Decimal 215 150 250
Binary 11010111 10010110 11111010
Octal 327 226 372

Shades and tints

Shades of #D796FA

#D796FA
(215,150,250)
#C489E4
(196,137,228)
#B17CCE
(177,124,206)
#9E6FB8
(158,111,184)
#8B62A2
(139,98,162)
#78558C
(120,85,140)
#654876
(101,72,118)
#523B60
(82,59,96)
#3F2E4A
(63,46,74)
#2C2134
(44,33,52)
#19141E
(25,20,30)
#000000
(0,0,0)

Tints of #D796FA

#D796FA
(215,150,250)
#DA9FFA
(218,159,250)
#DDA8FA
(221,168,250)
#E0B1FA
(224,177,250)
#E3BAFA
(227,186,250)
#E6C3FA
(230,195,250)
#E9CCFA
(233,204,250)
#ECD5FA
(236,213,250)
#EFDEFA
(239,222,250)
#F2E7FA
(242,231,250)
#F5F0FA
(245,240,250)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D796FA color. Also use rgb(215,150,250) instead hex code.

Text Font Color

.myTextColor { color: #D796FA; }

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

This text font color is #D796FA.

Background Color

.myBgColor { background-color: #D796FA; }

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

This div background color is #D796FA.

Border color

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

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

This div border color is #D796FA.

Opacity

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

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

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

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

This text has shadow with #D796FA color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #D796FA.

Preview

Color preview on black background

This text has color #D796FA on black background.


Color preview on white background

This text has color #D796FA on white background.


Black color preview on #D796FA background

This text has black color on #D796FA background.


White color preview on #D796FA background

This text has white color on #D796FA background.


Related colors

Complementary color

Complementary color for #hex is #286905.


I love getcolorcode.com

Triadic colors

1 #FAD796 and #96FAD7 with #D796FA are triadic colors.

2 #FA96D7 and #96D7FA with #D796FA are triadic colors.