COLOR #304A40

HEX: #304A40
RGB: (48,74,64)

Color info

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

RGB color model

#304A40 color RGB value is (48,74,64).

  • red value is 48;
  • green value is 74;
  • blue value is 64.
RGB:
(48,74,64)
(19%,29%,25%)

RGB channels and saturation

R 48 of 255 = 19%
G 74 of 255 = 29%
B 64 of 255 = 25%

48
74
64

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

Portions of RGB colors in percentages

R + G + B =
48 + 74 + 64 = 186 (100%)
R 48 of 186 ~ 25.81%
G 74 of 186 ~ 39.78%
B 64 of 186 ~ 34.41%

%25.81
%39.78
%34.41

CMYK color model

#304A40 color CMYK value is (35,0,14,71).

  • cyan value is 35.14%
  • magenta value is 0.00%
  • yellow value is 13.51%
  • key color value is 70.98%
CMYK:
(35,0,14,71)
C35M0Y14K71 
(35%,0%,14%,71%)
(0.35/0.00/0.14/0.71)	

CMYK percentages

%35.14
%0
%13.51
%70.98

Codes

Color #304A40 in popluar color models

304A40
RGB487464
HSL157°21.31%23.92%
HSB/HSV157°35.14%29.02%
CMYK35.14%0.00%13.51%
70.98%

Color #304A40 in popluar number systems.

HEX304A40
Decimal487464
Binary11000010010101000000
Octal60112100

Shades and tints

Shades of #304A40

#304A40
(48,74,64)
#2C443B
(44,68,59)
#283E36
(40,62,54)
#243831
(36,56,49)
#20322C
(32,50,44)
#1C2C27
(28,44,39)
#182622
(24,38,34)
#14201D
(20,32,29)
#101A18
(16,26,24)
#0C1413
(12,20,19)
#080E0E
(8,14,14)
#000000
(0,0,0)

Tints of #304A40

#304A40
(48,74,64)
#425A51
(66,90,81)
#546A62
(84,106,98)
#667A73
(102,122,115)
#788A84
(120,138,132)
#8A9A95
(138,154,149)
#9CAAA6
(156,170,166)
#AEBAB7
(174,186,183)
#C0CAC8
(192,202,200)
#D2DAD9
(210,218,217)
#E4EAEA
(228,234,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304A40 color. Also use rgb(48,74,64) instead hex code.

Text Font Color

.myTextColor { color: #304A40; }

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

This text font color is #304A40.


Background Color

.myBgColor { background-color: #304A40; }

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

This div background color is #304A40.


Border color

.myBorderColor { border: 1px solid #304A40; }

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

This div border color is #304A40.


Opacity

.myOpacity80 { color: #304A40; opacity: 0.8; }

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

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

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

This text has shadow with #304A40 color.

.textShadow {text-shadow: 3px 3px 1px #304A40, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304A40 on black background.


Color preview on white background

This text has color #304A40 on white background.



Black color preview on #304A40 background

This text has black color on #304A40 background.


White color preview on #304A40 background

This text has white color on #304A40 background.