COLOR #031204

HEX: #031204 RGB: (3,18,4)

Color info

#031204 contains red, green and blue colors in about the same proportion. Web safe color of #031204 is #000000 (or #000).

RGB color model

#031204 color RGB value is (3,18,4).

RGB: (3,18,4) (1%, 7%, 2%)

RGB channels and saturation

R 3 of 255 = 1%
G 18 of 255 = 7%
B 4 of 255 = 2%

3
18
4

R + G + B ~ 3%. #031204 is dark color.

Portions of RGB colors in percentages

R + G + B = 3 + 18 + 4 = 25 (100%)
R 3 of 25 ~ 12%
G 18 of 25 ~ 72%
B 4 of 25 ~ 16'%

%12
%72
%16

CMYK color model

#031204 color CMYK value is (83,0,78,93).

  • cyan value is 83.33%
  • magenta value is 0.00%
  • yellow value is 77.78%
  • key color value is 92.94%

CMYK: (83,0,78,93)
C83M0Y78K93 (83%, 0%, 78%, 93%)
(0.83 / 0.00 / 0.78 / 0.93)

CMYK percentages

%83.33
%0
%77.78
%92.94

Codes

Color #031204 in popluar color models

03 12 04
RGB 3 18 4
HSL 124° 71.43% 4.12%
HSB/HSV 124° 83.33% 7.06%
CMYK 83.33% 0.00% 77.78%
92.94%

Color #031204 in popluar number systems.

HEX 03 12 04
Decimal 3 18 4
Binary 11 10010 100
Octal 3 22 4

Shades and tints

Shades of #031204

#031204
(3,18,4)
#031104
(3,17,4)
#031004
(3,16,4)
#030F04
(3,15,4)
#030E04
(3,14,4)
#030D04
(3,13,4)
#030C04
(3,12,4)
#030B04
(3,11,4)
#030A04
(3,10,4)
#030904
(3,9,4)
#030804
(3,8,4)
#000000
(0,0,0)

Tints of #031204

#031204
(3,18,4)
#19271A
(25,39,26)
#2F3C30
(47,60,48)
#455146
(69,81,70)
#5B665C
(91,102,92)
#717B72
(113,123,114)
#879088
(135,144,136)
#9DA59E
(157,165,158)
#B3BAB4
(179,186,180)
#C9CFCA
(201,207,202)
#DFE4E0
(223,228,224)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #031204 color. Also use rgb(3,18,4) instead hex code.

Text Font Color

.myTextColor { color: #031204; }

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

This text font color is #031204.

Background Color

.myBgColor { background-color: #031204; }

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

This div background color is #031204.

Border color

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

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

This div border color is #031204.

Opacity

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

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

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

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

This text has shadow with #031204 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #031204.

Preview

Color preview on black background

This text has color #031204 on black background.


Color preview on white background

This text has color #031204 on white background.


Black color preview on #031204 background

This text has black color on #031204 background.


White color preview on #031204 background

This text has white color on #031204 background.


Related colors

Complementary color

Complementary color for #hex is #FCEDFB.


I love getcolorcode.com

Triadic colors

1 #040312 and #120403 with #031204 are triadic colors.

2 #041203 and #120304 with #031204 are triadic colors.