COLOR #9A42D6

HEX: #9A42D6 RGB: (154,66,214)

Color info

#9A42D6 contains mainly blue color. Web safe color of #9A42D6 is #9933CC (or #93C).

RGB color model

#9A42D6 color RGB value is (154,66,214).

RGB: (154,66,214) (60%, 26%, 84%)

RGB channels and saturation

R 154 of 255 = 60%
G 66 of 255 = 26%
B 214 of 255 = 84%

154
66
214

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

Portions of RGB colors in percentages

R + G + B = 154 + 66 + 214 = 434 (100%)
R 154 of 434 ~ 35.48%
G 66 of 434 ~ 15.21%
B 214 of 434 ~ 49.31'%

%35.48
%15.21
%49.31

CMYK color model

#9A42D6 color CMYK value is (28,69,0,16).

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

CMYK: (28,69,0,16)
C28M69Y0K16 (28%, 69%, 0%, 16%)
(0.28 / 0.69 / 0.00 / 0.16)

CMYK percentages

%28.04
%69.16
%0
%16.08

Codes

Color #9A42D6 in popluar color models

9A 42 D6
RGB 154 66 214
HSL 276° 64.35% 54.90%
HSB/HSV 276° 69.16% 83.92%
CMYK 28.04% 69.16% 0.00%
16.08%

Color #9A42D6 in popluar number systems.

HEX 9A 42 D6
Decimal 154 66 214
Binary 10011010 1000010 11010110
Octal 232 102 326

Shades and tints

Shades of #9A42D6

#9A42D6
(154,66,214)
#8C3CC3
(140,60,195)
#7E36B0
(126,54,176)
#70309D
(112,48,157)
#622A8A
(98,42,138)
#542477
(84,36,119)
#461E64
(70,30,100)
#381851
(56,24,81)
#2A123E
(42,18,62)
#1C0C2B
(28,12,43)
#0E0618
(14,6,24)
#000000
(0,0,0)

Tints of #9A42D6

#9A42D6
(154,66,214)
#A353D9
(163,83,217)
#AC64DC
(172,100,220)
#B575DF
(181,117,223)
#BE86E2
(190,134,226)
#C797E5
(199,151,229)
#D0A8E8
(208,168,232)
#D9B9EB
(217,185,235)
#E2CAEE
(226,202,238)
#EBDBF1
(235,219,241)
#F4ECF4
(244,236,244)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #9A42D6; }

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

This text font color is #9A42D6.

Background Color

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

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

This div background color is #9A42D6.

Border color

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

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

This div border color is #9A42D6.

Opacity

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

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

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

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

This text has shadow with #9A42D6 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #9A42D6.

Preview

Color preview on black background

This text has color #9A42D6 on black background.


Color preview on white background

This text has color #9A42D6 on white background.


Black color preview on #9A42D6 background

This text has black color on #9A42D6 background.


White color preview on #9A42D6 background

This text has white color on #9A42D6 background.


Related colors

Complementary color

Complementary color for #hex is #65BD29.


I love getcolorcode.com

Triadic colors

1 #D69A42 and #42D69A with #9A42D6 are triadic colors.

2 #D6429A and #429AD6 with #9A42D6 are triadic colors.