COLOR #42306D

HEX: #42306D RGB: (66,48,109)

Color info

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

RGB color model

#42306D color RGB value is (66,48,109).

RGB: (66,48,109) (26%, 19%, 43%)

RGB channels and saturation

R 66 of 255 = 26%
G 48 of 255 = 19%
B 109 of 255 = 43%

66
48
109

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

Portions of RGB colors in percentages

R + G + B = 66 + 48 + 109 = 223 (100%)
R 66 of 223 ~ 29.6%
G 48 of 223 ~ 21.52%
B 109 of 223 ~ 48.88'%

%29.6
%21.52
%48.88

CMYK color model

#42306D color CMYK value is (39,56,0,57).

  • cyan value is 39.45%
  • magenta value is 55.96%
  • yellow value is 0.00%
  • key color value is 57.25%

CMYK: (39,56,0,57)
C39M56Y0K57 (39%, 56%, 0%, 57%)
(0.39 / 0.56 / 0.00 / 0.57)

CMYK percentages

%39.45
%55.96
%0
%57.25

Codes

Color #42306D in popluar color models

42 30 6D
RGB 66 48 109
HSL 258° 38.85% 30.78%
HSB/HSV 258° 55.96% 42.75%
CMYK 39.45% 55.96% 0.00%
57.25%

Color #42306D in popluar number systems.

HEX 42 30 6D
Decimal 66 48 109
Binary 1000010 110000 1101101
Octal 102 60 155

Shades and tints

Shades of #42306D

#42306D
(66,48,109)
#3C2C64
(60,44,100)
#36285B
(54,40,91)
#302452
(48,36,82)
#2A2049
(42,32,73)
#241C40
(36,28,64)
#1E1837
(30,24,55)
#18142E
(24,20,46)
#121025
(18,16,37)
#0C0C1C
(12,12,28)
#060813
(6,8,19)
#000000
(0,0,0)

Tints of #42306D

#42306D
(66,48,109)
#53427A
(83,66,122)
#645487
(100,84,135)
#756694
(117,102,148)
#8678A1
(134,120,161)
#978AAE
(151,138,174)
#A89CBB
(168,156,187)
#B9AEC8
(185,174,200)
#CAC0D5
(202,192,213)
#DBD2E2
(219,210,226)
#ECE4EF
(236,228,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #42306D; }

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

This text font color is #42306D.

Background Color

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

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

This div background color is #42306D.

Border color

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

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

This div border color is #42306D.

Opacity

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

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

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

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

This text has shadow with #42306D color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #42306D.

Preview

Color preview on black background

This text has color #42306D on black background.


Color preview on white background

This text has color #42306D on white background.


Black color preview on #42306D background

This text has black color on #42306D background.


White color preview on #42306D background

This text has white color on #42306D background.


Related colors

Complementary color

Complementary color for #hex is #BDCF92.


I love getcolorcode.com

Triadic colors

1 #6D4230 and #306D42 with #42306D are triadic colors.

2 #6D3042 and #30426D with #42306D are triadic colors.