COLOR #304C6C

HEX: #304C6C
RGB: (48,76,108)

Color info

#304C6C contains mainly green and blue colors. Web safe color of #304C6C is #333366 (or #336).

RGB color model

#304C6C color RGB value is (48,76,108).

  • red value is 48;
  • green value is 76;
  • blue value is 108.
RGB:
(48,76,108)
(19%,30%,42%)

RGB channels and saturation

R 48 of 255 = 19%
G 76 of 255 = 30%
B 108 of 255 = 42%

48
76
108

R + G + B ~ 30%. #304C6C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 76 + 108 = 232 (100%)
R 48 of 232 ~ 20.69%
G 76 of 232 ~ 32.76%
B 108 of 232 ~ 46.55%

%20.69
%32.76
%46.55

CMYK color model

#304C6C color CMYK value is (56,30,0,58).

  • cyan value is 55.56%
  • magenta value is 29.63%
  • yellow value is 0.00%
  • key color value is 57.65%
CMYK:
(56,30,0,58)
C56M30Y0K58 
(56%,30%,0%,58%)
(0.56/0.30/0.00/0.58)	

CMYK percentages

%55.56
%29.63
%0
%57.65

Codes

Color #304C6C in popluar color models

304C6C
RGB4876108
HSL212°38.46%30.59%
HSB/HSV212°55.56%42.35%
CMYK55.56%29.63%0.00%
57.65%

Color #304C6C in popluar number systems.

HEX304C6C
Decimal4876108
Binary11000010011001101100
Octal60114154

Shades and tints

Shades of #304C6C

#304C6C
(48,76,108)
#2C4663
(44,70,99)
#28405A
(40,64,90)
#243A51
(36,58,81)
#203448
(32,52,72)
#1C2E3F
(28,46,63)
#182836
(24,40,54)
#14222D
(20,34,45)
#101C24
(16,28,36)
#0C161B
(12,22,27)
#081012
(8,16,18)
#000000
(0,0,0)

Tints of #304C6C

#304C6C
(48,76,108)
#425C79
(66,92,121)
#546C86
(84,108,134)
#667C93
(102,124,147)
#788CA0
(120,140,160)
#8A9CAD
(138,156,173)
#9CACBA
(156,172,186)
#AEBCC7
(174,188,199)
#C0CCD4
(192,204,212)
#D2DCE1
(210,220,225)
#E4ECEE
(228,236,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304C6C color. Also use rgb(48,76,108) instead hex code.

Text Font Color

.myTextColor { color: #304C6C; }

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

This text font color is #304C6C.


Background Color

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

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

This div background color is #304C6C.


Border color

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

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

This div border color is #304C6C.


Opacity

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

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

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

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

This text has shadow with #304C6C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304C6C on black background.


Color preview on white background

This text has color #304C6C on white background.



Black color preview on #304C6C background

This text has black color on #304C6C background.


White color preview on #304C6C background

This text has white color on #304C6C background.