Earl Grey

A gentle color scheme, for code.

· Earl Grey Specification

Prelude

Interpreting this specification

Language syntaxes and scopes will be referred to in the following manner throughout this document:

Scope :
( ForegroundColor , BackgroundColor ) Italic, Bold

… where BackgroundColor, Italic, and Bold are optional.

Throughout the document, broad ranges of syntax tokens will be referred to using TextMate Naming Conventions. (See also the Sublime Text documentation.)

Color Palette

Foreground: #605A52

Background: #FCFBF9

BackgroundAlt: #F7F3EE

Purple: #83577D

Blue: #556995

Teal: #477A7B

Orange: #886A44

Green: #747B4D

Red: #8F5652

Comment: #9E9A95

An alterative, slightly darker foreground color is available for use when more contrast is needed:

ForegroundAlt: #5A544C

The “Berry” color and its shades can be used when a more vibrant color is required for UI elements (example: highlighting search results in text).

Berry: #AA5087

Blend Colors

Grey1: #ECEBE8

Grey2: #DDDBD8

Grey3: #CDCBC7

Grey4: #BEBBB6

Grey5: #AEABA6

Grey6: #9E9A95

Grey7: #8F8A84

Grey8: #7F7A73

Grey9: #706A63
Purple1: #F0EBED

Purple2: #E4DAE0

Purple3: #D8CAD4

Purple4: #CCB9C7

Purple5: #C0A9BB

Purple6: #B399AF

Purple7: #A788A2

Purple8: #9B7896

Purple9: #8F6789
Blue1: #EBECEF

Blue2: #DBDEE5

Blue3: #CACFDB

Blue4: #B9C1D1

Blue5: #A9B2C7

Blue6: #98A3BD

Blue7: #8795B3

Blue8: #7686A9

Blue9: #66789F
Teal1: #EAEEEC

Teal2: #D8E1E0

Teal3: #C6D4D3

Teal4: #B4C7C7

Teal5: #A2BBBA

Teal6: #8FAEAD

Teal7: #7DA1A1

Teal8: #6B9494

Teal9: #598788
Orange1: #F0EDE7

Orange2: #E5DED5

Orange3: #D9D0C3

Orange4: #CEC1B1

Orange5: #C2B39F

Orange6: #B6A48C

Orange7: #AB967A

Orange8: #9F8768

Orange9: #947956
Green1: #EEEEE8

Green2: #E1E1D7

Green3: #D3D5C5

Green4: #C6C8B4

Green5: #B8BBA3

Green6: #AAAE92

Green7: #9DA181

Green8: #8F956F

Green9: #82885E
Red1: #F1EBE8

Red2: #E6DAD8

Red3: #DBCAC7

Red4: #D0B9B6

Red5: #C6A9A6

Red6: #BB9895

Red7: #B08884

Red8: #A57773

Red9: #9A6763
Berry1: #F4EAEE

Berry2: #ECD9E2

Berry3: #E3C8D7

Berry4: #DBB7CB

Berry5: #D3A6C0

Berry6: #CB94B5

Berry7: #C383A9

Berry8: #BA729E

Berry9: #B26192

General

Text :
( Foreground , Background )

Source :
( Foreground , Background )

Comment

Comment :
( Comment ) Italic

Constant

Constant :
( Teal )

Constant.Character.Escape :
( Teal )

Entity

Entity.Name :
( Foreground ) Italic

Entity.Name.Class :
( Foreground ) Italic

Entity.Name.Function :
( Foreground ) Italic

Entity.Name.Label :
( Orange ) Italic

Entity.Name.Section :
( Purple )

Entity.Name.Tag :
( Purple )

Entity.Other.Attribute-Name :
( Blue )

Entity.Other.InheritedClass :
( Foreground ) Italic

Invalid

Invalid :
( Red )

Invalid.Illegal :
( Background , Red )

Invalid.Deprecated :
( Background , Red )

Keyword

Keyword :
( Purple )

Keyword.Operator :
( Foreground )

Markup

Markup :
( Foreground )

Markup.Bold :
( Foreground ) Bold

Markup.Heading :
( Purple ) Bold

Markup.Italic :
( Foreground ) Italic

Markup.Link.Text :
( Teal )

Markup.Link.Url :
( Blue )

Markup.List :
( Foreground )

Markup.Quote :
( Orange )

Markup.Raw :
( Orange )

Meta

Meta.ObjectLiteral.Key :
( Foreground ) Italic

Meta.Preprocessor :
( Orange )

Meta.Interpolation :
( Foreground )

Meta.Interpolation.Begin :
( Orange )

Meta.Interpolation.End :
( Orange )

Punctuation

Punctuation :
( Foreground )

Punctuation.Definition.Variable :
( Teal )

Punctuation.Separator.Continuation :
( Orange )

Storage

Storage :
( Purple )

Storage.Type :
( Purple )

Storage.Modifier :
( Purple ) Italic

String

String :
( Green )

String.Regexp :
( Orange )

Support

Support.Function :
( Foreground ) Italic

Support.Class :
( Foreground ) Italic

Support.Type :
( Foreground ) Italic

Support.Module :
( Foreground ) Italic

Support.Constant :
( Teal )

Support.Variable :
( Blue )

Variable

Variable :
( Blue )

Variable.Function :
( Foreground ) Italic

Variable.Language :
( Purple )

Variable.Other :
( Blue )

Variable.Parameter :
( Blue )