COLOR #420F5C

HEX: #420F5C
RGB: (66,15,92)

Color info

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

RGB color model

#420F5C color RGB value is (66,15,92).

  • red value is 66;
  • green value is 15;
  • blue value is 92.
RGB:
(66,15,92)
(26%,6%,36%)

RGB channels and saturation

R 66 of 255 = 26%
G 15 of 255 = 6%
B 92 of 255 = 36%

66
15
92

R + G + B ~ 23%. #420F5C is dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 15 + 92 = 173 (100%)
R 66 of 173 ~ 38.15%
G 15 of 173 ~ 8.67%
B 92 of 173 ~ 53.18%

%38.15
%53.18

CMYK color model

#420F5C color CMYK value is (28,84,0,64).

  • cyan value is 28.26%
  • magenta value is 83.70%
  • yellow value is 0.00%
  • key color value is 63.92%
CMYK:
(28,84,0,64)
C28M84Y0K64 
(28%,84%,0%,64%)
(0.28/0.84/0.00/0.64)	

CMYK percentages

%28.26
%83.7
%0
%63.92

Codes

Color #420F5C in popluar color models

420F5C
RGB661592
HSL280°71.96%20.98%
HSB/HSV280°83.70%36.08%
CMYK28.26%83.70%0.00%
63.92%

Color #420F5C in popluar number systems.

HEX420F5C
Decimal661592
Binary100001011111011100
Octal10217134

Shades and tints

Shades of #420F5C

#420F5C
(66,15,92)
#3C0E54
(60,14,84)
#360D4C
(54,13,76)
#300C44
(48,12,68)
#2A0B3C
(42,11,60)
#240A34
(36,10,52)
#1E092C
(30,9,44)
#180824
(24,8,36)
#12071C
(18,7,28)
#0C0614
(12,6,20)
#06050C
(6,5,12)
#000000
(0,0,0)

Tints of #420F5C

#420F5C
(66,15,92)
#53246A
(83,36,106)
#643978
(100,57,120)
#754E86
(117,78,134)
#866394
(134,99,148)
#9778A2
(151,120,162)
#A88DB0
(168,141,176)
#B9A2BE
(185,162,190)
#CAB7CC
(202,183,204)
#DBCCDA
(219,204,218)
#ECE1E8
(236,225,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #420F5C color. Also use rgb(66,15,92) instead hex code.

Text Font Color

.myTextColor { color: #420F5C; }

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

This text font color is #420F5C.


Background Color

.myBgColor { background-color: #420F5C; }

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

This div background color is #420F5C.


Border color

.myBorderColor { border: 1px solid #420F5C; }

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

This div border color is #420F5C.


Opacity

.myOpacity80 { color: #420F5C; opacity: 0.8; }

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

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

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

This text has shadow with #420F5C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #420F5C on black background.


Color preview on white background

This text has color #420F5C on white background.



Black color preview on #420F5C background

This text has black color on #420F5C background.


White color preview on #420F5C background

This text has white color on #420F5C background.