COLOR #420166

HEX: #420166
RGB: (66,1,102)

Color info

#420166 contains mainly red and blue colors. Web safe color of #420166 is #330066 (or #306).

RGB color model

#420166 color RGB value is (66,1,102).

  • red value is 66;
  • green value is 1;
  • blue value is 102.
RGB:
(66,1,102)
(26%,0%,40%)

RGB channels and saturation

R 66 of 255 = 26%
G 1 of 255 = 0%
B 102 of 255 = 40%

66
1
102

R + G + B ~ 22%. #420166 is dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 1 + 102 = 169 (100%)
R 66 of 169 ~ 39.05%
G 1 of 169 ~ 0.59%
B 102 of 169 ~ 60.36%

%39.05
%60.36

CMYK color model

#420166 color CMYK value is (35,99,0,60).

  • cyan value is 35.29%
  • magenta value is 99.02%
  • yellow value is 0.00%
  • key color value is 60.00%
CMYK:
(35,99,0,60)
C35M99Y0K60 
(35%,99%,0%,60%)
(0.35/0.99/0.00/0.60)	

CMYK percentages

%35.29
%99.02
%0
%60

Codes

Color #420166 in popluar color models

420166
RGB661102
HSL279°98.06%20.20%
HSB/HSV279°99.02%40.00%
CMYK35.29%99.02%0.00%
60.00%

Color #420166 in popluar number systems.

HEX420166
Decimal661102
Binary100001011100110
Octal1021146

Shades and tints

Shades of #420166

#420166
(66,1,102)
#3C015D
(60,1,93)
#360154
(54,1,84)
#30014B
(48,1,75)
#2A0142
(42,1,66)
#240139
(36,1,57)
#1E0130
(30,1,48)
#180127
(24,1,39)
#12011E
(18,1,30)
#0C0115
(12,1,21)
#06010C
(6,1,12)
#000000
(0,0,0)

Tints of #420166

#420166
(66,1,102)
#531873
(83,24,115)
#642F80
(100,47,128)
#75468D
(117,70,141)
#865D9A
(134,93,154)
#9774A7
(151,116,167)
#A88BB4
(168,139,180)
#B9A2C1
(185,162,193)
#CAB9CE
(202,185,206)
#DBD0DB
(219,208,219)
#ECE7E8
(236,231,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #420166 color. Also use rgb(66,1,102) instead hex code.

Text Font Color

.myTextColor { color: #420166; }

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

This text font color is #420166.


Background Color

.myBgColor { background-color: #420166; }

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

This div background color is #420166.


Border color

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

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

This div border color is #420166.


Opacity

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

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

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

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

This text has shadow with #420166 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #420166 on black background.


Color preview on white background

This text has color #420166 on white background.



Black color preview on #420166 background

This text has black color on #420166 background.


White color preview on #420166 background

This text has white color on #420166 background.