COLOR #9D40D2

HEX: #9D40D2
RGB: (157,64,210)

Color info

#9D40D2 contains mainly red and blue colors. Web safe color of #9D40D2 is #9933CC (or #93C).

RGB color model

#9D40D2 color RGB value is (157,64,210).

  • red value is 157;
  • green value is 64;
  • blue value is 210.
RGB:
(157,64,210)
(62%,25%,82%)

RGB channels and saturation

R 157 of 255 = 62%
G 64 of 255 = 25%
B 210 of 255 = 82%

157
64
210

R + G + B ~ 56%. #9D40D2 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
157 + 64 + 210 = 431 (100%)
R 157 of 431 ~ 36.43%
G 64 of 431 ~ 14.85%
B 210 of 431 ~ 48.72%

%36.43
%14.85
%48.72

CMYK color model

#9D40D2 color CMYK value is (25,70,0,18).

  • cyan value is 25.24%
  • magenta value is 69.52%
  • yellow value is 0.00%
  • key color value is 17.65%
CMYK:
(25,70,0,18)
C25M70Y0K18 
(25%,70%,0%,18%)
(0.25/0.70/0.00/0.18)	

CMYK percentages

%25.24
%69.52
%0
%17.65

Codes

Color #9D40D2 in popluar color models

9D40D2
RGB15764210
HSL278°61.86%53.73%
HSB/HSV278°69.52%82.35%
CMYK25.24%69.52%0.00%
17.65%

Color #9D40D2 in popluar number systems.

HEX9D40D2
Decimal15764210
Binary10011101100000011010010
Octal235100322

Shades and tints

Shades of #9D40D2

#9D40D2
(157,64,210)
#8F3BBF
(143,59,191)
#8136AC
(129,54,172)
#733199
(115,49,153)
#652C86
(101,44,134)
#572773
(87,39,115)
#492260
(73,34,96)
#3B1D4D
(59,29,77)
#2D183A
(45,24,58)
#1F1327
(31,19,39)
#110E14
(17,14,20)
#000000
(0,0,0)

Tints of #9D40D2

#9D40D2
(157,64,210)
#A551D6
(165,81,214)
#AD62DA
(173,98,218)
#B573DE
(181,115,222)
#BD84E2
(189,132,226)
#C595E6
(197,149,230)
#CDA6EA
(205,166,234)
#D5B7EE
(213,183,238)
#DDC8F2
(221,200,242)
#E5D9F6
(229,217,246)
#EDEAFA
(237,234,250)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9D40D2 color. Also use rgb(157,64,210) instead hex code.

Text Font Color

.myTextColor { color: #9D40D2; }

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

This text font color is #9D40D2.


Background Color

.myBgColor { background-color: #9D40D2; }

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

This div background color is #9D40D2.


Border color

.myBorderColor { border: 1px solid #9D40D2; }

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

This div border color is #9D40D2.


Opacity

.myOpacity80 { color: #9D40D2; opacity: 0.8; }

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

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

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

This text has shadow with #9D40D2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9D40D2 on black background.


Color preview on white background

This text has color #9D40D2 on white background.



Black color preview on #9D40D2 background

This text has black color on #9D40D2 background.


White color preview on #9D40D2 background

This text has white color on #9D40D2 background.