COLOR #304342

HEX: #304342 RGB: (48,67,66)

Color info

#304342 contains red, green and blue colors in about the same proportion. Web safe color of #304342 is #333333 (or #333).

RGB color model

#304342 color RGB value is (48,67,66).

RGB: (48,67,66) (19%, 26%, 26%)

RGB channels and saturation

R 48 of 255 = 19%
G 67 of 255 = 26%
B 66 of 255 = 26%

48
67
66

R + G + B ~ 24%. #304342 is dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 67 + 66 = 181 (100%)
R 48 of 181 ~ 26.52%
G 67 of 181 ~ 37.02%
B 66 of 181 ~ 36.46'%

%26.52
%37.02
%36.46

CMYK color model

#304342 color CMYK value is (28,0,1,74).

  • cyan value is 28.36%
  • magenta value is 0.00%
  • yellow value is 1.49%
  • key color value is 73.73%

CMYK: (28,0,1,74)
C28M0Y1K74 (28%, 0%, 1%, 74%)
(0.28 / 0.00 / 0.01 / 0.74)

CMYK percentages

%28.36
%0
%1.49
%73.73

Codes

Color #304342 in popluar color models

30 43 42
RGB 48 67 66
HSL 177° 16.52% 22.55%
HSB/HSV 177° 28.36% 26.27%
CMYK 28.36% 0.00% 1.49%
73.73%

Color #304342 in popluar number systems.

HEX 30 43 42
Decimal 48 67 66
Binary 110000 1000011 1000010
Octal 60 103 102

Shades and tints

Shades of #304342

#304342
(48,67,66)
#2C3D3C
(44,61,60)
#283736
(40,55,54)
#243130
(36,49,48)
#202B2A
(32,43,42)
#1C2524
(28,37,36)
#181F1E
(24,31,30)
#141918
(20,25,24)
#101312
(16,19,18)
#0C0D0C
(12,13,12)
#080706
(8,7,6)
#000000
(0,0,0)

Tints of #304342

#304342
(48,67,66)
#425453
(66,84,83)
#546564
(84,101,100)
#667675
(102,118,117)
#788786
(120,135,134)
#8A9897
(138,152,151)
#9CA9A8
(156,169,168)
#AEBAB9
(174,186,185)
#C0CBCA
(192,203,202)
#D2DCDB
(210,220,219)
#E4EDEC
(228,237,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304342; }

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

This text font color is #304342.

Background Color

.myBgColor { background-color: #304342; }

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

This div background color is #304342.

Border color

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

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

This div border color is #304342.

Opacity

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

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

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

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

This text has shadow with #304342 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304342.

Preview

Color preview on black background

This text has color #304342 on black background.


Color preview on white background

This text has color #304342 on white background.


Black color preview on #304342 background

This text has black color on #304342 background.


White color preview on #304342 background

This text has white color on #304342 background.


Related colors

Complementary color

Complementary color for #hex is #CFBCBD.


I love getcolorcode.com

Triadic colors

1 #423043 and #434230 with #304342 are triadic colors.

2 #424330 and #433042 with #304342 are triadic colors.