COLOR #304038

HEX: #304038
RGB: (48,64,56)

Color info

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

RGB color model

#304038 color RGB value is (48,64,56).

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

RGB channels and saturation

R 48 of 255 = 19%
G 64 of 255 = 25%
B 56 of 255 = 22%

48
64
56

R + G + B ~ 22%. #304038 is dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 64 + 56 = 168 (100%)
R 48 of 168 ~ 28.57%
G 64 of 168 ~ 38.1%
B 56 of 168 ~ 33.33%

%28.57
%38.1
%33.33

CMYK color model

#304038 color CMYK value is (25,0,13,75).

  • cyan value is 25.00%
  • magenta value is 0.00%
  • yellow value is 12.50%
  • key color value is 74.90%
CMYK:
(25,0,13,75)
C25M0Y13K75 
(25%,0%,13%,75%)
(0.25/0.00/0.13/0.75)	

CMYK percentages

%25
%0
%12.5
%74.9

Codes

Color #304038 in popluar color models

304038
RGB486456
HSL150°14.29%21.96%
HSB/HSV150°25.00%25.10%
CMYK25.00%0.00%12.50%
74.90%

Color #304038 in popluar number systems.

HEX304038
Decimal486456
Binary1100001000000111000
Octal6010070

Shades and tints

Shades of #304038

#304038
(48,64,56)
#2C3B33
(44,59,51)
#28362E
(40,54,46)
#243129
(36,49,41)
#202C24
(32,44,36)
#1C271F
(28,39,31)
#18221A
(24,34,26)
#141D15
(20,29,21)
#101810
(16,24,16)
#0C130B
(12,19,11)
#080E06
(8,14,6)
#000000
(0,0,0)

Tints of #304038

#304038
(48,64,56)
#42514A
(66,81,74)
#54625C
(84,98,92)
#66736E
(102,115,110)
#788480
(120,132,128)
#8A9592
(138,149,146)
#9CA6A4
(156,166,164)
#AEB7B6
(174,183,182)
#C0C8C8
(192,200,200)
#D2D9DA
(210,217,218)
#E4EAEC
(228,234,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304038; }

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

This text font color is #304038.


Background Color

.myBgColor { background-color: #304038; }

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

This div background color is #304038.


Border color

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

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

This div border color is #304038.


Opacity

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

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

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

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

This text has shadow with #304038 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304038 on black background.


Color preview on white background

This text has color #304038 on white background.



Black color preview on #304038 background

This text has black color on #304038 background.


White color preview on #304038 background

This text has white color on #304038 background.