COLOR #04260C

HEX: #04260C
RGB: (4,38,12)

Color info

#04260C contains red, green and blue colors in about the same proportion. Web safe color of #04260C is #003300 (or #030).

RGB color model

#04260C color RGB value is (4,38,12).

  • red value is 4;
  • green value is 38;
  • blue value is 12.
RGB:
(4,38,12)
(2%,15%,5%)

RGB channels and saturation

R 4 of 255 = 2%
G 38 of 255 = 15%
B 12 of 255 = 5%

4
38
12

R + G + B ~ 7%. #04260C is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 38 + 12 = 54 (100%)
R 4 of 54 ~ 7.41%
G 38 of 54 ~ 70.37%
B 12 of 54 ~ 22.22%

%70.37
%22.22

CMYK color model

#04260C color CMYK value is (89,0,68,85).

  • cyan value is 89.47%
  • magenta value is 0.00%
  • yellow value is 68.42%
  • key color value is 85.10%
CMYK:
(89,0,68,85)
C89M0Y68K85 
(89%,0%,68%,85%)
(0.89/0.00/0.68/0.85)	

CMYK percentages

%89.47
%0
%68.42
%85.1

Codes

Color #04260C in popluar color models

04260C
RGB43812
HSL134°80.95%8.24%
HSB/HSV134°89.47%14.90%
CMYK89.47%0.00%68.42%
85.10%

Color #04260C in popluar number systems.

HEX04260C
Decimal43812
Binary1001001101100
Octal44614

Shades and tints

Shades of #04260C

#04260C
(4,38,12)
#04230B
(4,35,11)
#04200A
(4,32,10)
#041D09
(4,29,9)
#041A08
(4,26,8)
#041707
(4,23,7)
#041406
(4,20,6)
#041105
(4,17,5)
#040E04
(4,14,4)
#040B03
(4,11,3)
#040802
(4,8,2)
#000000
(0,0,0)

Tints of #04260C

#04260C
(4,38,12)
#1A3922
(26,57,34)
#304C38
(48,76,56)
#465F4E
(70,95,78)
#5C7264
(92,114,100)
#72857A
(114,133,122)
#889890
(136,152,144)
#9EABA6
(158,171,166)
#B4BEBC
(180,190,188)
#CAD1D2
(202,209,210)
#E0E4E8
(224,228,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #04260C color. Also use rgb(4,38,12) instead hex code.

Text Font Color

.myTextColor { color: #04260C; }

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

This text font color is #04260C.


Background Color

.myBgColor { background-color: #04260C; }

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

This div background color is #04260C.


Border color

.myBorderColor { border: 1px solid #04260C; }

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

This div border color is #04260C.


Opacity

.myOpacity80 { color: #04260C; opacity: 0.8; }

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

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

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

This text has shadow with #04260C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #04260C on black background.


Color preview on white background

This text has color #04260C on white background.



Black color preview on #04260C background

This text has black color on #04260C background.


White color preview on #04260C background

This text has white color on #04260C background.