COLOR #42427A

HEX: #42427A
RGB: (66,66,122)

Color info

#42427A contains red, green and blue colors in about the same proportion. Web safe color of #42427A is #333366 (or #336).

RGB color model

#42427A color RGB value is (66,66,122).

  • red value is 66;
  • green value is 66;
  • blue value is 122.
RGB:
(66,66,122)
(26%,26%,48%)

RGB channels and saturation

R 66 of 255 = 26%
G 66 of 255 = 26%
B 122 of 255 = 48%

66
66
122

R + G + B ~ 33%. #42427A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 66 + 122 = 254 (100%)
R 66 of 254 ~ 25.98%
G 66 of 254 ~ 25.98%
B 122 of 254 ~ 48.03%

%25.98
%25.98
%48.03

CMYK color model

#42427A color CMYK value is (46,46,0,52).

  • cyan value is 45.90%
  • magenta value is 45.90%
  • yellow value is 0.00%
  • key color value is 52.16%
CMYK:
(46,46,0,52)
C46M46Y0K52 
(46%,46%,0%,52%)
(0.46/0.46/0.00/0.52)	

CMYK percentages

%45.9
%45.9
%0
%52.16

Codes

Color #42427A in popluar color models

42427A
RGB6666122
HSL240°29.79%36.86%
HSB/HSV240°45.90%47.84%
CMYK45.90%45.90%0.00%
52.16%

Color #42427A in popluar number systems.

HEX42427A
Decimal6666122
Binary100001010000101111010
Octal102102172

Shades and tints

Shades of #42427A

#42427A
(66,66,122)
#3C3C6F
(60,60,111)
#363664
(54,54,100)
#303059
(48,48,89)
#2A2A4E
(42,42,78)
#242443
(36,36,67)
#1E1E38
(30,30,56)
#18182D
(24,24,45)
#121222
(18,18,34)
#0C0C17
(12,12,23)
#06060C
(6,6,12)
#000000
(0,0,0)

Tints of #42427A

#42427A
(66,66,122)
#535386
(83,83,134)
#646492
(100,100,146)
#75759E
(117,117,158)
#8686AA
(134,134,170)
#9797B6
(151,151,182)
#A8A8C2
(168,168,194)
#B9B9CE
(185,185,206)
#CACADA
(202,202,218)
#DBDBE6
(219,219,230)
#ECECF2
(236,236,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #42427A color. Also use rgb(66,66,122) instead hex code.

Text Font Color

.myTextColor { color: #42427A; }

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

This text font color is #42427A.


Background Color

.myBgColor { background-color: #42427A; }

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

This div background color is #42427A.


Border color

.myBorderColor { border: 1px solid #42427A; }

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

This div border color is #42427A.


Opacity

.myOpacity80 { color: #42427A; opacity: 0.8; }

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

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

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

This text has shadow with #42427A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #42427A on black background.


Color preview on white background

This text has color #42427A on white background.



Black color preview on #42427A background

This text has black color on #42427A background.


White color preview on #42427A background

This text has white color on #42427A background.