COLOR #420852

HEX: #420852 RGB: (66,8,82)

Color info

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

RGB color model

#420852 color RGB value is (66,8,82).

RGB: (66,8,82) (26%, 3%, 32%)

RGB channels and saturation

R 66 of 255 = 26%
G 8 of 255 = 3%
B 82 of 255 = 32%

66
8
82

R + G + B ~ 20%. #420852 is dark color.

Portions of RGB colors in percentages

R + G + B = 66 + 8 + 82 = 156 (100%)
R 66 of 156 ~ 42.31%
G 8 of 156 ~ 5.13%
B 82 of 156 ~ 52.56'%

%42.31
%52.56

CMYK color model

#420852 color CMYK value is (20,90,0,68).

  • cyan value is 19.51%
  • magenta value is 90.24%
  • yellow value is 0.00%
  • key color value is 67.84%

CMYK: (20,90,0,68)
C20M90Y0K68 (20%, 90%, 0%, 68%)
(0.20 / 0.90 / 0.00 / 0.68)

CMYK percentages

%19.51
%90.24
%0
%67.84

Codes

Color #420852 in popluar color models

42 08 52
RGB 66 8 82
HSL 287° 82.22% 17.65%
HSB/HSV 287° 90.24% 32.16%
CMYK 19.51% 90.24% 0.00%
67.84%

Color #420852 in popluar number systems.

HEX 42 08 52
Decimal 66 8 82
Binary 1000010 1000 1010010
Octal 102 10 122

Shades and tints

Shades of #420852

#420852
(66,8,82)
#3C084B
(60,8,75)
#360844
(54,8,68)
#30083D
(48,8,61)
#2A0836
(42,8,54)
#24082F
(36,8,47)
#1E0828
(30,8,40)
#180821
(24,8,33)
#12081A
(18,8,26)
#0C0813
(12,8,19)
#06080C
(6,8,12)
#000000
(0,0,0)

Tints of #420852

#420852
(66,8,82)
#531E61
(83,30,97)
#643470
(100,52,112)
#754A7F
(117,74,127)
#86608E
(134,96,142)
#97769D
(151,118,157)
#A88CAC
(168,140,172)
#B9A2BB
(185,162,187)
#CAB8CA
(202,184,202)
#DBCED9
(219,206,217)
#ECE4E8
(236,228,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #420852 color. Also use rgb(66,8,82) instead hex code.

Text Font Color

.myTextColor { color: #420852; }

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

This text font color is #420852.

Background Color

.myBgColor { background-color: #420852; }

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

This div background color is #420852.

Border color

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

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

This div border color is #420852.

Opacity

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

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

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

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

This text has shadow with #420852 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #420852.

Preview

Color preview on black background

This text has color #420852 on black background.


Color preview on white background

This text has color #420852 on white background.


Black color preview on #420852 background

This text has black color on #420852 background.


White color preview on #420852 background

This text has white color on #420852 background.


Related colors

Complementary color

Complementary color for #hex is #BDF7AD.


I love getcolorcode.com

Triadic colors

1 #524208 and #085242 with #420852 are triadic colors.

2 #520842 and #084252 with #420852 are triadic colors.