COLOR #420128

HEX: #420128
RGB: (66,1,40)

Color info

#420128 contains mainly red and blue colors. Web safe color of #420128 is #330033 (or #303).

RGB color model

#420128 color RGB value is (66,1,40).

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

RGB channels and saturation

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

66
1
40

R + G + B ~ 14%. #420128 is dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 1 + 40 = 107 (100%)
R 66 of 107 ~ 61.68%
G 1 of 107 ~ 0.93%
B 40 of 107 ~ 37.38%

%61.68
%37.38

CMYK color model

#420128 color CMYK value is (0,98,39,74).

  • cyan value is 0.00%
  • magenta value is 98.48%
  • yellow value is 39.39%
  • key color value is 74.12%
CMYK:
(0,98,39,74)
C0M98Y39K74 
(0%,98%,39%,74%)
(0.00/0.98/0.39/0.74)	

CMYK percentages

%0
%98.48
%39.39
%74.12

Codes

Color #420128 in popluar color models

420128
RGB66140
HSL324°97.01%13.14%
HSB/HSV324°98.48%25.88%
CMYK0.00%98.48%39.39%
74.12%

Color #420128 in popluar number systems.

HEX420128
Decimal66140
Binary10000101101000
Octal102150

Shades and tints

Shades of #420128

#420128
(66,1,40)
#3C0125
(60,1,37)
#360122
(54,1,34)
#30011F
(48,1,31)
#2A011C
(42,1,28)
#240119
(36,1,25)
#1E0116
(30,1,22)
#180113
(24,1,19)
#120110
(18,1,16)
#0C010D
(12,1,13)
#06010A
(6,1,10)
#000000
(0,0,0)

Tints of #420128

#420128
(66,1,40)
#53183B
(83,24,59)
#642F4E
(100,47,78)
#754661
(117,70,97)
#865D74
(134,93,116)
#977487
(151,116,135)
#A88B9A
(168,139,154)
#B9A2AD
(185,162,173)
#CAB9C0
(202,185,192)
#DBD0D3
(219,208,211)
#ECE7E6
(236,231,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #420128; }

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

This text font color is #420128.


Background Color

.myBgColor { background-color: #420128; }

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

This div background color is #420128.


Border color

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

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

This div border color is #420128.


Opacity

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

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

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

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

This text has shadow with #420128 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #420128 on black background.


Color preview on white background

This text has color #420128 on white background.



Black color preview on #420128 background

This text has black color on #420128 background.


White color preview on #420128 background

This text has white color on #420128 background.