COLOR #124C8A

HEX: #124C8A
RGB: (18,76,138)

Color info

#124C8A contains mainly blue color. Web safe color of #124C8A is #003399 (or #039).

RGB color model

#124C8A color RGB value is (18,76,138).

  • red value is 18;
  • green value is 76;
  • blue value is 138.
RGB:
(18,76,138)
(7%,30%,54%)

RGB channels and saturation

R 18 of 255 = 7%
G 76 of 255 = 30%
B 138 of 255 = 54%

18
76
138

R + G + B ~ 30%. #124C8A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
18 + 76 + 138 = 232 (100%)
R 18 of 232 ~ 7.76%
G 76 of 232 ~ 32.76%
B 138 of 232 ~ 59.48%

%32.76
%59.48

CMYK color model

#124C8A color CMYK value is (87,45,0,46).

  • cyan value is 86.96%
  • magenta value is 44.93%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(87,45,0,46)
C87M45Y0K46 
(87%,45%,0%,46%)
(0.87/0.45/0.00/0.46)	

CMYK percentages

%86.96
%44.93
%0
%45.88

Codes

Color #124C8A in popluar color models

124C8A
RGB1876138
HSL211°76.92%30.59%
HSB/HSV211°86.96%54.12%
CMYK86.96%44.93%0.00%
45.88%

Color #124C8A in popluar number systems.

HEX124C8A
Decimal1876138
Binary10010100110010001010
Octal22114212

Shades and tints

Shades of #124C8A

#124C8A
(18,76,138)
#11467E
(17,70,126)
#104072
(16,64,114)
#0F3A66
(15,58,102)
#0E345A
(14,52,90)
#0D2E4E
(13,46,78)
#0C2842
(12,40,66)
#0B2236
(11,34,54)
#0A1C2A
(10,28,42)
#09161E
(9,22,30)
#081012
(8,16,18)
#000000
(0,0,0)

Tints of #124C8A

#124C8A
(18,76,138)
#275C94
(39,92,148)
#3C6C9E
(60,108,158)
#517CA8
(81,124,168)
#668CB2
(102,140,178)
#7B9CBC
(123,156,188)
#90ACC6
(144,172,198)
#A5BCD0
(165,188,208)
#BACCDA
(186,204,218)
#CFDCE4
(207,220,228)
#E4ECEE
(228,236,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #124C8A color. Also use rgb(18,76,138) instead hex code.

Text Font Color

.myTextColor { color: #124C8A; }

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

This text font color is #124C8A.


Background Color

.myBgColor { background-color: #124C8A; }

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

This div background color is #124C8A.


Border color

.myBorderColor { border: 1px solid #124C8A; }

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

This div border color is #124C8A.


Opacity

.myOpacity80 { color: #124C8A; opacity: 0.8; }

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

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

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

This text has shadow with #124C8A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #124C8A on black background.


Color preview on white background

This text has color #124C8A on white background.



Black color preview on #124C8A background

This text has black color on #124C8A background.


White color preview on #124C8A background

This text has white color on #124C8A background.