COLOR #121838

HEX: #121838 RGB: (18,24,56)

Color info

#121838 contains red, green and blue colors in about the same proportion. Web safe color of #121838 is #000033 (or #003).

RGB color model

#121838 color RGB value is (18,24,56).

RGB: (18,24,56) (7%, 9%, 22%)

RGB channels and saturation

R 18 of 255 = 7%
G 24 of 255 = 9%
B 56 of 255 = 22%

18
24
56

R + G + B ~ 13%. #121838 is dark color.

Portions of RGB colors in percentages

R + G + B = 18 + 24 + 56 = 98 (100%)
R 18 of 98 ~ 18.37%
G 24 of 98 ~ 24.49%
B 56 of 98 ~ 57.14'%

%18.37
%24.49
%57.14

CMYK color model

#121838 color CMYK value is (68,57,0,78).

  • cyan value is 67.86%
  • magenta value is 57.14%
  • yellow value is 0.00%
  • key color value is 78.04%

CMYK: (68,57,0,78)
C68M57Y0K78 (68%, 57%, 0%, 78%)
(0.68 / 0.57 / 0.00 / 0.78)

CMYK percentages

%67.86
%57.14
%0
%78.04

Codes

Color #121838 in popluar color models

12 18 38
RGB 18 24 56
HSL 231° 51.35% 14.51%
HSB/HSV 231° 67.86% 21.96%
CMYK 67.86% 57.14% 0.00%
78.04%

Color #121838 in popluar number systems.

HEX 12 18 38
Decimal 18 24 56
Binary 10010 11000 111000
Octal 22 30 70

Shades and tints

Shades of #121838

#121838
(18,24,56)
#111633
(17,22,51)
#10142E
(16,20,46)
#0F1229
(15,18,41)
#0E1024
(14,16,36)
#0D0E1F
(13,14,31)
#0C0C1A
(12,12,26)
#0B0A15
(11,10,21)
#0A0810
(10,8,16)
#09060B
(9,6,11)
#080406
(8,4,6)
#000000
(0,0,0)

Tints of #121838

#121838
(18,24,56)
#272D4A
(39,45,74)
#3C425C
(60,66,92)
#51576E
(81,87,110)
#666C80
(102,108,128)
#7B8192
(123,129,146)
#9096A4
(144,150,164)
#A5ABB6
(165,171,182)
#BAC0C8
(186,192,200)
#CFD5DA
(207,213,218)
#E4EAEC
(228,234,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #121838 color. Also use rgb(18,24,56) instead hex code.

Text Font Color

.myTextColor { color: #121838; }

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

This text font color is #121838.

Background Color

.myBgColor { background-color: #121838; }

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

This div background color is #121838.

Border color

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

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

This div border color is #121838.

Opacity

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

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

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

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

This text has shadow with #121838 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #121838.

Preview

Color preview on black background

This text has color #121838 on black background.


Color preview on white background

This text has color #121838 on white background.


Black color preview on #121838 background

This text has black color on #121838 background.


White color preview on #121838 background

This text has white color on #121838 background.


Related colors

Complementary color

Complementary color for #hex is #EDE7C7.


I love getcolorcode.com

Triadic colors

1 #381218 and #183812 with #121838 are triadic colors.

2 #381812 and #181238 with #121838 are triadic colors.