COLOR #42246C

HEX: #42246C
RGB: (66,36,108)

Color info

#42246C contains mainly red and blue colors. Web safe color of #42246C is #333366 (or #336).

RGB color model

#42246C color RGB value is (66,36,108).

  • red value is 66;
  • green value is 36;
  • blue value is 108.
RGB:
(66,36,108)
(26%,14%,42%)

RGB channels and saturation

R 66 of 255 = 26%
G 36 of 255 = 14%
B 108 of 255 = 42%

66
36
108

R + G + B ~ 27%. #42246C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 36 + 108 = 210 (100%)
R 66 of 210 ~ 31.43%
G 36 of 210 ~ 17.14%
B 108 of 210 ~ 51.43%

%31.43
%17.14
%51.43

CMYK color model

#42246C color CMYK value is (39,67,0,58).

  • cyan value is 38.89%
  • magenta value is 66.67%
  • yellow value is 0.00%
  • key color value is 57.65%
CMYK:
(39,67,0,58)
C39M67Y0K58 
(39%,67%,0%,58%)
(0.39/0.67/0.00/0.58)	

CMYK percentages

%38.89
%66.67
%0
%57.65

Codes

Color #42246C in popluar color models

42246C
RGB6636108
HSL265°50.00%28.24%
HSB/HSV265°66.67%42.35%
CMYK38.89%66.67%0.00%
57.65%

Color #42246C in popluar number systems.

HEX42246C
Decimal6636108
Binary10000101001001101100
Octal10244154

Shades and tints

Shades of #42246C

#42246C
(66,36,108)
#3C2163
(60,33,99)
#361E5A
(54,30,90)
#301B51
(48,27,81)
#2A1848
(42,24,72)
#24153F
(36,21,63)
#1E1236
(30,18,54)
#180F2D
(24,15,45)
#120C24
(18,12,36)
#0C091B
(12,9,27)
#060612
(6,6,18)
#000000
(0,0,0)

Tints of #42246C

#42246C
(66,36,108)
#533779
(83,55,121)
#644A86
(100,74,134)
#755D93
(117,93,147)
#8670A0
(134,112,160)
#9783AD
(151,131,173)
#A896BA
(168,150,186)
#B9A9C7
(185,169,199)
#CABCD4
(202,188,212)
#DBCFE1
(219,207,225)
#ECE2EE
(236,226,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #42246C color. Also use rgb(66,36,108) instead hex code.

Text Font Color

.myTextColor { color: #42246C; }

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

This text font color is #42246C.


Background Color

.myBgColor { background-color: #42246C; }

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

This div background color is #42246C.


Border color

.myBorderColor { border: 1px solid #42246C; }

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

This div border color is #42246C.


Opacity

.myOpacity80 { color: #42246C; opacity: 0.8; }

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

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

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

This text has shadow with #42246C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #42246C on black background.


Color preview on white background

This text has color #42246C on white background.



Black color preview on #42246C background

This text has black color on #42246C background.


White color preview on #42246C background

This text has white color on #42246C background.