COLOR #12402E

HEX: #12402E
RGB: (18,64,46)

Color info

#12402E contains red, green and blue colors in about the same proportion. Web safe color of #12402E is #003333 (or #033).

RGB color model

#12402E color RGB value is (18,64,46).

  • red value is 18;
  • green value is 64;
  • blue value is 46.
RGB:
(18,64,46)
(7%,25%,18%)

RGB channels and saturation

R 18 of 255 = 7%
G 64 of 255 = 25%
B 46 of 255 = 18%

18
64
46

R + G + B ~ 17%. #12402E is dark color.

Portions of RGB colors in percentages

R + G + B =
18 + 64 + 46 = 128 (100%)
R 18 of 128 ~ 14.06%
G 64 of 128 ~ 50%
B 46 of 128 ~ 35.94%

%14.06
%50
%35.94

CMYK color model

#12402E color CMYK value is (72,0,28,75).

  • cyan value is 71.88%
  • magenta value is 0.00%
  • yellow value is 28.13%
  • key color value is 74.90%
CMYK:
(72,0,28,75)
C72M0Y28K75 
(72%,0%,28%,75%)
(0.72/0.00/0.28/0.75)	

CMYK percentages

%71.88
%0
%28.13
%74.9

Codes

Color #12402E in popluar color models

12402E
RGB186446
HSL157°56.10%16.08%
HSB/HSV157°71.88%25.10%
CMYK71.88%0.00%28.13%
74.90%

Color #12402E in popluar number systems.

HEX12402E
Decimal186446
Binary100101000000101110
Octal2210056

Shades and tints

Shades of #12402E

#12402E
(18,64,46)
#113B2A
(17,59,42)
#103626
(16,54,38)
#0F3122
(15,49,34)
#0E2C1E
(14,44,30)
#0D271A
(13,39,26)
#0C2216
(12,34,22)
#0B1D12
(11,29,18)
#0A180E
(10,24,14)
#09130A
(9,19,10)
#080E06
(8,14,6)
#000000
(0,0,0)

Tints of #12402E

#12402E
(18,64,46)
#275141
(39,81,65)
#3C6254
(60,98,84)
#517367
(81,115,103)
#66847A
(102,132,122)
#7B958D
(123,149,141)
#90A6A0
(144,166,160)
#A5B7B3
(165,183,179)
#BAC8C6
(186,200,198)
#CFD9D9
(207,217,217)
#E4EAEC
(228,234,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #12402E color. Also use rgb(18,64,46) instead hex code.

Text Font Color

.myTextColor { color: #12402E; }

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

This text font color is #12402E.


Background Color

.myBgColor { background-color: #12402E; }

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

This div background color is #12402E.


Border color

.myBorderColor { border: 1px solid #12402E; }

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

This div border color is #12402E.


Opacity

.myOpacity80 { color: #12402E; opacity: 0.8; }

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

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

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

This text has shadow with #12402E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #12402E on black background.


Color preview on white background

This text has color #12402E on white background.



Black color preview on #12402E background

This text has black color on #12402E background.


White color preview on #12402E background

This text has white color on #12402E background.