COLOR #9F42D6

HEX: #9F42D6 RGB: (159,66,214)

Color info

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

RGB color model

#9F42D6 color RGB value is (159,66,214).

RGB: (159,66,214) (62%, 26%, 84%)

RGB channels and saturation

R 159 of 255 = 62%
G 66 of 255 = 26%
B 214 of 255 = 84%

159
66
214

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

Portions of RGB colors in percentages

R + G + B = 159 + 66 + 214 = 439 (100%)
R 159 of 439 ~ 36.22%
G 66 of 439 ~ 15.03%
B 214 of 439 ~ 48.75'%

%36.22
%15.03
%48.75

CMYK color model

#9F42D6 color CMYK value is (26,69,0,16).

  • cyan value is 25.70%
  • magenta value is 69.16%
  • yellow value is 0.00%
  • key color value is 16.08%

CMYK: (26,69,0,16)
C26M69Y0K16 (26%, 69%, 0%, 16%)
(0.26 / 0.69 / 0.00 / 0.16)

CMYK percentages

%25.7
%69.16
%0
%16.08

Codes

Color #9F42D6 in popluar color models

9F 42 D6
RGB 159 66 214
HSL 278° 64.35% 54.90%
HSB/HSV 278° 69.16% 83.92%
CMYK 25.70% 69.16% 0.00%
16.08%

Color #9F42D6 in popluar number systems.

HEX 9F 42 D6
Decimal 159 66 214
Binary 10011111 1000010 11010110
Octal 237 102 326

Shades and tints

Shades of #9F42D6

#9F42D6
(159,66,214)
#913CC3
(145,60,195)
#8336B0
(131,54,176)
#75309D
(117,48,157)
#672A8A
(103,42,138)
#592477
(89,36,119)
#4B1E64
(75,30,100)
#3D1851
(61,24,81)
#2F123E
(47,18,62)
#210C2B
(33,12,43)
#130618
(19,6,24)
#000000
(0,0,0)

Tints of #9F42D6

#9F42D6
(159,66,214)
#A753D9
(167,83,217)
#AF64DC
(175,100,220)
#B775DF
(183,117,223)
#BF86E2
(191,134,226)
#C797E5
(199,151,229)
#CFA8E8
(207,168,232)
#D7B9EB
(215,185,235)
#DFCAEE
(223,202,238)
#E7DBF1
(231,219,241)
#EFECF4
(239,236,244)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9F42D6 color. Also use rgb(159,66,214) instead hex code.

Text Font Color

.myTextColor { color: #9F42D6; }

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

This text font color is #9F42D6.

Background Color

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

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

This div background color is #9F42D6.

Border color

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

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

This div border color is #9F42D6.

Opacity

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

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

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

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

This text has shadow with #9F42D6 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #9F42D6.

Preview

Color preview on black background

This text has color #9F42D6 on black background.


Color preview on white background

This text has color #9F42D6 on white background.


Black color preview on #9F42D6 background

This text has black color on #9F42D6 background.


White color preview on #9F42D6 background

This text has white color on #9F42D6 background.


Related colors

Complementary color

Complementary color for #hex is #60BD29.


I love getcolorcode.com

Triadic colors

1 #D69F42 and #42D69F with #9F42D6 are triadic colors.

2 #D6429F and #429FD6 with #9F42D6 are triadic colors.