COLOR #304742

HEX: #304742 RGB: (48,71,66)

Color info

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

RGB color model

#304742 color RGB value is (48,71,66).

RGB: (48,71,66) (19%, 28%, 26%)

RGB channels and saturation

R 48 of 255 = 19%
G 71 of 255 = 28%
B 66 of 255 = 26%

48
71
66

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

Portions of RGB colors in percentages

R + G + B = 48 + 71 + 66 = 185 (100%)
R 48 of 185 ~ 25.95%
G 71 of 185 ~ 38.38%
B 66 of 185 ~ 35.68'%

%25.95
%38.38
%35.68

CMYK color model

#304742 color CMYK value is (32,0,7,72).

  • cyan value is 32.39%
  • magenta value is 0.00%
  • yellow value is 7.04%
  • key color value is 72.16%

CMYK: (32,0,7,72)
C32M0Y7K72 (32%, 0%, 7%, 72%)
(0.32 / 0.00 / 0.07 / 0.72)

CMYK percentages

%32.39
%0
%7.04
%72.16

Codes

Color #304742 in popluar color models

30 47 42
RGB 48 71 66
HSL 167° 19.33% 23.33%
HSB/HSV 167° 32.39% 27.84%
CMYK 32.39% 0.00% 7.04%
72.16%

Color #304742 in popluar number systems.

HEX 30 47 42
Decimal 48 71 66
Binary 110000 1000111 1000010
Octal 60 107 102

Shades and tints

Shades of #304742

#304742
(48,71,66)
#2C413C
(44,65,60)
#283B36
(40,59,54)
#243530
(36,53,48)
#202F2A
(32,47,42)
#1C2924
(28,41,36)
#18231E
(24,35,30)
#141D18
(20,29,24)
#101712
(16,23,18)
#0C110C
(12,17,12)
#080B06
(8,11,6)
#000000
(0,0,0)

Tints of #304742

#304742
(48,71,66)
#425753
(66,87,83)
#546764
(84,103,100)
#667775
(102,119,117)
#788786
(120,135,134)
#8A9797
(138,151,151)
#9CA7A8
(156,167,168)
#AEB7B9
(174,183,185)
#C0C7CA
(192,199,202)
#D2D7DB
(210,215,219)
#E4E7EC
(228,231,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304742; }

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

This text font color is #304742.

Background Color

.myBgColor { background-color: #304742; }

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

This div background color is #304742.

Border color

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

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

This div border color is #304742.

Opacity

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

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

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

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

This text has shadow with #304742 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304742.

Preview

Color preview on black background

This text has color #304742 on black background.


Color preview on white background

This text has color #304742 on white background.


Black color preview on #304742 background

This text has black color on #304742 background.


White color preview on #304742 background

This text has white color on #304742 background.


Related colors

Complementary color

Complementary color for #hex is #CFB8BD.


I love getcolorcode.com

Triadic colors

1 #423047 and #474230 with #304742 are triadic colors.

2 #424730 and #473042 with #304742 are triadic colors.