COLOR #42306B

HEX: #42306B RGB: (66,48,107)

Color info

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

RGB color model

#42306B color RGB value is (66,48,107).

RGB: (66,48,107) (26%, 19%, 42%)

RGB channels and saturation

R 66 of 255 = 26%
G 48 of 255 = 19%
B 107 of 255 = 42%

66
48
107

R + G + B ~ 29%. #42306B is quite dark color.

Portions of RGB colors in percentages

R + G + B = 66 + 48 + 107 = 221 (100%)
R 66 of 221 ~ 29.86%
G 48 of 221 ~ 21.72%
B 107 of 221 ~ 48.42'%

%29.86
%21.72
%48.42

CMYK color model

#42306B color CMYK value is (38,55,0,58).

  • cyan value is 38.32%
  • magenta value is 55.14%
  • yellow value is 0.00%
  • key color value is 58.04%

CMYK: (38,55,0,58)
C38M55Y0K58 (38%, 55%, 0%, 58%)
(0.38 / 0.55 / 0.00 / 0.58)

CMYK percentages

%38.32
%55.14
%0
%58.04

Codes

Color #42306B in popluar color models

42 30 6B
RGB 66 48 107
HSL 258° 38.06% 30.39%
HSB/HSV 258° 55.14% 41.96%
CMYK 38.32% 55.14% 0.00%
58.04%

Color #42306B in popluar number systems.

HEX 42 30 6B
Decimal 66 48 107
Binary 1000010 110000 1101011
Octal 102 60 153

Shades and tints

Shades of #42306B

#42306B
(66,48,107)
#3C2C62
(60,44,98)
#362859
(54,40,89)
#302450
(48,36,80)
#2A2047
(42,32,71)
#241C3E
(36,28,62)
#1E1835
(30,24,53)
#18142C
(24,20,44)
#121023
(18,16,35)
#0C0C1A
(12,12,26)
#060811
(6,8,17)
#000000
(0,0,0)

Tints of #42306B

#42306B
(66,48,107)
#534278
(83,66,120)
#645485
(100,84,133)
#756692
(117,102,146)
#86789F
(134,120,159)
#978AAC
(151,138,172)
#A89CB9
(168,156,185)
#B9AEC6
(185,174,198)
#CAC0D3
(202,192,211)
#DBD2E0
(219,210,224)
#ECE4ED
(236,228,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #42306B color. Also use rgb(66,48,107) instead hex code.

Text Font Color

.myTextColor { color: #42306B; }

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

This text font color is #42306B.

Background Color

.myBgColor { background-color: #42306B; }

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

This div background color is #42306B.

Border color

.myBorderColor { border: 1px solid #42306B; }

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

This div border color is #42306B.

Opacity

.myOpacity80 { color: #42306B; opacity: 0.8; }

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

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

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

This text has shadow with #42306B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #42306B.

Preview

Color preview on black background

This text has color #42306B on black background.


Color preview on white background

This text has color #42306B on white background.


Black color preview on #42306B background

This text has black color on #42306B background.


White color preview on #42306B background

This text has white color on #42306B background.


Related colors

Complementary color

Complementary color for #hex is #BDCF94.


I love getcolorcode.com

Triadic colors

1 #6B4230 and #306B42 with #42306B are triadic colors.

2 #6B3042 and #30426B with #42306B are triadic colors.