Skip to content

Style Extensions

Starplot has many built-in style extensions for different color schemes, plot types, and gradient backgrounds.

Using them is pretty simple:

from starplot import styles

style = styles.PlotStyle().extend(
    styles.extensions.BLUE_GOLD,
    styles.extensions.GRADIENT_PRE_DAWN,
)
  • Color Schemes
    • GRAYSCALE - Optimized for printing in grayscale (details)
    • GRAYSCALE_DARK - Like GRAYSCALE, but inverted (white stars, black background) (details)
    • BLUE_LIGHT - Light and bright colors (details)
    • BLUE_MEDIUM - Medium brightness bluish gray colors (details)
    • BLUE_DARK - Dark "Starplot blue" colors (details)
    • BLUE_GOLD - Dark blue / gold colors (details)
    • BLUE_NIGHT - Very dark blue background with colored markers (details)
    • ANTIQUE - Antique map inspired colors (details)
    • NORD - Nord-inspired colors (details)
  • Plot types
    • OPTIC - Basic styling tailored for optic plots (details)
    • MAP - Basic styling tailored for map plots (details)
    • PUBLICATION - Styling rules tailored for plots that will be imported to design applications (details)
  • Gradients
    • GRADIENT_DAYLIGHT
    • GRADIENT_BOLD_SUNSET
    • GRADIENT_CIVIL_TWILIGHT
    • GRADIENT_NAUTICAL_TWILIGHT
    • GRADIENT_ASTRONOMICAL_TWILIGHT
    • GRADIENT_LAVENDER_TWILIGHT
    • GRADIENT_TRUE_NIGHT
    • GRADIENT_PRE_DAWN
    • GRADIENT_OPTIC_FALLOFF
    • GRADIENT_OPTIC_FALL_IN

GRAYSCALE

Optimized for printing in grayscale

Source
axes:
  background:
    fill: '#fff'

base:
  text_stroke: '#fff'

title:
  fill: '#000'

celestial_equator:
  label:
    fill: '#999'
  line:
    stroke: '#999'

star:
  marker:
    stroke: '#fff'

# DSOs
dso_double_star:
  marker:
    fill: '#000'
dso_galaxy:
  marker:
    fill: null
    opacity: 1
    symbol: ellipse
dso_nebula:
  marker:
    fill: '#c8c8c8'
    opacity: 1
dso_planetary_nebula:
  marker:
    fill: null
    opacity: 1
dso_open_cluster:
  marker:
    fill: null
    stroke: '#000'
    opacity: 1


# other DSOs
dso_unknown: &DSO
  marker:
    fill: '#000'
    opacity: 0.28
dso_dark_nebula: *DSO
dso_supernova_remnant: *DSO
dso_nova_star: *DSO
dso_nonexistant: *DSO
dso_unknown: *DSO
dso_duplicate: *DSO

ecliptic:
  label:
    fill: '#777'
  line:
    stroke: '#777'
milky_way:
  opacity: 0.28
  fill: '#d9d9d9'
  stroke_width: 0
planets:
  marker:
    fill: '#000'
sun:
  marker:
    fill: '#000'
    stroke: '#000'

legend:
  background:
    fill: '#fff'

horizon:
  line:
    stroke: 'white'
  label:
    fill: 'black'

zenith:
  marker:
    fill: black
  label:
    fill: black

GRAYSCALE_DARK

Like GRAYSCALE, but inverted (white stars, black background)

Source
axes:
  background:
    fill: hsl(136, 0%, 10%)

base:
  text_stroke: hsl(136, 0%, 10%)

figure:
  background:
    fill: hsl(136, 0%, 100%)

horizon:
  line:
    stroke: hsl(136, 0%, 20%)
  label:
    fill: hsl(136, 0%, 90%)

zenith:
  marker:
    fill: hsl(136, 0%, 90%)
  label:
    fill: hsl(136, 0%, 90%)

title:
  fill: hsl(136, 0%, 0%)

star:
  label:
    fill: hsl(136, 0%, 78%)
  marker:
    fill: hsl(136, 0%, 92%)
    stroke: hsl(136, 0%, 10%)
sun:
  label:
    fill: hsl(136, 0%, 90%)
  marker:
    fill: hsl(136, 0%, 97%)
    stroke: hsl(136, 0%, 97%)
bayer_labels:
  fill: hsl(136, 0%, 80%)
flamsteed_labels:
  fill: hsl(136, 0%, 80%)
celestial_equator:
  label:
    fill: '#999'
  line:
    stroke: '#999'

# Constellations
constellation_labels:
  fill: hsl(136, 0%, 77%)
constellation_lines:
  stroke: hsl(136, 0%, 30%)
constellation_borders:
  stroke: hsl(136, 0%, 42%)
  opacity: 0.5

dso_double_star:
  label:
    fill: hsl(136, 0%, 97%)
  marker:
    fill: 'hsl(136, 0%, 97%)'
dso_galaxy:
  label:
    fill: hsl(136, 0%, 97%)
  marker:
    fill: 'hsl(136, 0%, 97%)'
    opacity: 0.8
    symbol: diamond
dso_nebula:
  label:
    fill: hsl(136, 0%, 97%)
  marker:
    fill: 'hsl(136, 0%, 97%)'
    opacity: 0.28
dso_planetary_nebula:
  label:
    fill: hsl(136, 0%, 97%)
  marker:
    fill: 'hsl(136, 0%, 97%)'
    opacity: 0.28
dso_open_cluster:
  label:
    fill: hsl(136, 0%, 97%)
  marker:
    stroke: 'hsl(136, 0%, 97%)'
    opacity: 0.8
dso_association_stars:
  label:
    fill: hsl(136, 0%, 97%)
  marker:
    stroke: 'hsl(136, 0%, 97%)'
    opacity: 0.8


# other DSOs
dso_unknown: &DSO
  label:
    fill: hsl(136, 0%, 97%)
  marker:
    fill: 'hsl(136, 0%, 97%)'
    opacity: 0.28
dso_dark_nebula: *DSO
dso_supernova_remnant: *DSO
dso_nova_star: *DSO
dso_nonexistant: *DSO
dso_unknown: *DSO
dso_duplicate: *DSO

ecliptic:
  label:
    fill: '#777'
  line:
    stroke: '#777'
milky_way:
  opacity: 0.1
  fill: hsl(136, 0%, 62%)
  stroke_width: 0
planets:
  label:
    fill: hsl(136, 0%, 97%)
  marker:
    fill: hsl(136, 0%, 97%)
    stroke: hsl(136, 0%, 97%)
moon:
  label:
    fill: hsl(136, 0%, 97%)
gridlines:
  label:
    fill: hsl(136, 0%, 0%)
legend:
  background:
    fill: hsl(136, 0%, 64%)

BLUE_LIGHT

Light and bright colors

Source
axes:
  background:
    fill: hsl(218, 88%, 99%)

base:
  text_stroke: hsl(218, 88%, 99%)

horizon:
  line:
    stroke: '#b5cbe3'
  label:
    fill: '#2f4358'

zenith:
  marker:
    fill: hsl(18, 68%, 75%)
  label:
    fill: hsl(18, 68%, 75%)

title:
  fill: '#2f4358'
star:
  marker:
    stroke: '#fff'

celestial_equator:
  label:
    fill: '#2d5ec2'
    stroke: hsl(218, 88%, 99%)
  line:
    stroke: '#2d5ec2'

ecliptic:
  label:
    fill: '#e33b3b'
    stroke: hsl(218, 88%, 99%)
  line:
    stroke: hsl(359, 98%, 49%)

# Constellations
constellation_labels:
  fill: '#7c7c7c'
constellation_lines:
  opacity: 0.52
  stroke: '#6ba832'
  width: 3

dso_double_star:
  marker:
    opacity: 1

dso_galaxy:
  marker:
    opacity: 1
    fill: hsl(330, 80%, 85%)
    stroke: hsl(330, 84%, 20%)
  label:
    fill: hsl(330, 84%, 20%)

dso_nebula: &DSO-NEB
  marker:
    opacity: 1
    fill: hsl(98, 68%, 82%)
    stroke: hsl(91, 63%, 24%)
  label:
    fill: hsl(91, 63%, 29%)
dso_planetary_nebula:
  marker:
    opacity: 1
    fill: hsl(96, 76%, 82%)
    stroke: hsl(91, 63%, 24%)
  label:
    fill: hsl(91, 63%, 29%)

dso_open_cluster: &DSO-OC
  marker:
    opacity: 1
    fill: hsl(58, 98%, 77%)
    stroke: "#000"
  label:
    fill: hsl(58, 98%, 20%)
dso_association_stars: *DSO-OC

dso_globular_cluster:
  marker:
    opacity: 1
    fill: hsl(58, 98%, 77%)
    stroke: "#000"
  label:
    fill: '#989400'

# other DSOs
dso_unknown: &DSO
  marker:
    opacity: 0.76
    fill: hsl(91, 53%, 75%)
    stroke: hsl(91, 53%, 40%)
  label:
    fill: hsl(91, 53%, 40%)
dso_dark_nebula: *DSO
dso_supernova_remnant: *DSO
dso_nova_star: *DSO
dso_nonexistant: *DSO
dso_unknown: *DSO
dso_duplicate: *DSO

milky_way:
  opacity: 0.25
  fill: hsl(203, 70%, 81%)
  stroke_width: 0
planets:
  marker:
    opacity: 0.4
    fill: '#f89d00'

legend:
  background:
    fill: '#fff'

BLUE_MEDIUM

Medium brightness bluish gray colors

Source
# blue_medium

axes:
  background:
    fill: hsl(218, 88%, 97%)

base:
  text_stroke: hsl(218, 88%, 97%)

figure:
  background:
    fill: hsl(212, 27%, 48%)

title:
  fill: '#f1f6ff'

star:
  marker:
    stroke: '#f1f6ff'
bayer_labels:
  opacity: 1
  fill: '#000'

# Constellations
constellation_labels:
  opacity: 1
  fill: hsl(212, 20%, 36%)
constellation_lines:
  opacity: 0.45
  stroke: hsl(91, 60%, 43%)

celestial_equator:
  label:
    fill: '#2d5ec2'
    stroke: hsl(218, 88%, 97%)
  line:
    stroke: hsl(220, 52%, 56%)
    opacity: 0.8

ecliptic:
  label:
    fill: hsl(207, 75%, 53%)
    stroke: hsl(218, 88%, 97%)
  line:
    stroke: hsl(207, 75%, 48%)
    opacity: 1

planets:
  marker:
    opacity: 1
    fill: hsl(37, 78%, 80%)
milky_way:
  fill: 'hsl(203, 60%, 84%)'
  stroke_width: 0

sun:
  marker:
    fill: '#ffd22e'
    stroke: 'hsl(47, 100%, 29%)'

horizon:
  line:
    stroke: hsl(212, 38%, 68%)
  label:
    fill: hsl(212, 42%, 16%)

zenith:
  marker:
    fill: '#b979b7'
  label:
    fill: '#b979b7'

gridlines:
  label:
    opacity: 1
    fill: hsl(212, 27%, 93%)
  line:
    opacity: 0.6
    stroke: '#888'

# DSOs

dso_galaxy:
  marker:
    opacity: 1
    fill: hsl(330, 90%, 82%)
    stroke: hsl(330, 84%, 20%)
  label:
    fill: hsl(330, 34%, 25%)

dso_nebula: &DSO-NEB
  marker:
    opacity: 1
    fill: hsl(98, 68%, 82%)
    stroke: hsl(91, 63%, 24%)
  label:
    fill: hsl(91, 63%, 29%)
dso_planetary_nebula:
  marker:
    opacity: 1
    fill: hsl(96, 76%, 82%)
    stroke: hsl(91, 63%, 24%)
  label:
    fill: hsl(91, 63%, 29%)

dso_open_cluster: &DSO-OC
  marker:
    opacity: 1
    fill: hsl(58, 98%, 77%)
    stroke: "#000"
  label:
    fill: hsl(58, 98%, 20%)
dso_association_stars: *DSO-OC

dso_globular_cluster:
  marker:
    opacity: 1
    fill: hsl(58, 98%, 77%)
    stroke: "#000"
  label:
    fill: '#989400'


# other DSOs
dso_unknown: &DSO
  marker:
    opacity: 1
    fill: hsl(91, 62%, 82%)
    stroke: hsl(91, 53%, 40%)
  label:
    fill: hsl(91, 53%, 40%)
dso_dark_nebula: *DSO
dso_supernova_remnant: *DSO
dso_nova_star: *DSO
dso_nonexistant: *DSO
dso_unknown: *DSO
dso_duplicate: *DSO

legend:
  background:
    fill: '#f1f6ff'
    stroke: 'hsl(218, 27%, 48%)'

BLUE_DARK

Dark bluish gray colors

Source
axes:
  background:
    fill: hsl(209, 50%, 24%)

base:
  text_stroke: hsl(209, 50%, 24%)

figure:
  background:
    fill: hsl(209, 43%, 15%)

title:
  fill: hsl(209, 56%, 86%)

bayer_labels:
  opacity: 0.8
  fill: hsl(209, 53%, 82%)

horizon:
  line:
    stroke: hsl(209, 60%, 13%)
  label:
    fill: hsl(209, 56%, 86%)

zenith:
  marker:
    fill: hsl(209, 20%, 75%)
  label:
    fill: hsl(209, 20%, 75%)

# Lines
celestial_equator:
  label:
    fill: hsl(209, 30%, 80%)
    stroke: hsl(209, 50%, 24%)
  line:
    stroke: hsl(209, 30%, 80%)

ecliptic:
  label:
    fill: '#e33b3b'
    stroke: hsl(209, 50%, 24%)
  line:
    stroke: '#e33b3b'
    opacity: 1

# Constellations
constellation_lines:
  opacity: 0.36
  stroke: hsl(209, 23%, 76%)
constellation_labels:
  opacity: 0.37
  fill: hsl(209, 23%, 80%)
constellation_borders:
  width: 2
  stroke: hsl(209, 50%, 74%)

dso_double_star:
  label:
    fill: hsl(209, 23%, 72%)
  marker:
    opacity: 0.8
    fill: '#88c0d0'
    stroke: '#88c0d0'


dso_galaxy:
  marker:
    opacity: 1
    fill: hsl(330, 70%, 66%)
    stroke: hsl(330, 54%, 30%)
  label:
    fill: hsl(330, 34%, 73%)

dso_nebula: &DSO-NEB
  marker:
    opacity: 1
    # color: hsl(98, 63%, 66%)
    fill: hsl(110, 52%, 62%)
    stroke: hsl(91, 53%, 10%)
  label:
    fill: hsl(91, 63%, 89%)
dso_planetary_nebula: *DSO-NEB

dso_open_cluster: &DSO-OC
  marker:
    opacity: 1
    fill: hsl(58, 64%, 50%)
    stroke: "#000"
  label:
    fill: hsl(58, 98%, 20%)
dso_association_stars: *DSO-OC

dso_globular_cluster:
  marker:
    opacity: 1
    fill: hsl(58, 64%, 50%)
    stroke: "#000"
  label:
    fill: hsl(209, 23%, 72%)


# other DSOs
dso_unknown: &DSO
  label:
    fill: hsl(209, 23%, 72%)
  marker:
    opacity: 0.46
    fill: hsl(209, 50%, 78%)
    stroke: hsl(209, 50%, 20%)
    zorder: -500
dso_dark_nebula: *DSO
dso_supernova_remnant: *DSO
dso_nova_star: *DSO
dso_nonexistant: *DSO
dso_unknown: *DSO
dso_duplicate: *DSO

gridlines:
  label:
    opacity: 1
    fill: hsl(209, 53%, 94%)
  line:
    opacity: 0.7
    stroke: hsl(209, 53%, 37%)
    width: 1
milky_way:
  opacity: 0.26
  fill: hsl(209, 50%, 54%)
  stroke_width: 0
planets:
  label:
    fill: hsl(209, 20%, 80%)
  marker:
    opacity: 0.8
    fill: hsl(209, 20%, 78%)
moon:
  label:
    fill: '#f2f2f2'
    opacity: 0.8
  marker:
    fill: '#e9e9e9'
star:
  label:
    fill: hsl(209, 23%, 84%)
  marker:
    fill: hsl(209, 50%, 94%)
    stroke: hsl(209, 50%, 24%)
sun:
  label:
    fill: hsl(209, 23%, 80%)
  marker:
    fill: hsl(209, 50%, 94%)
    stroke: hsl(209, 50%, 94%)

legend:
  background:
    fill: hsl(209, 50%, 26%)
  labels:
    fill: hsl(209, 50%, 88%)
  title:
    fill: hsl(209, 50%, 88%)

BLUE_GOLD

Dark bluish gold colors

Source
# blue_gold

axes:
  background:
    fill: rgb(46, 61, 74)

base:
  text_stroke: rgb(46, 61, 74)

figure:
  background:
    fill: hsl(208, 23%, 13%)

title:
  fill: '#f1f6ff'

legend:
  background: 
    fill: 'rgb(46, 61, 74)'
  labels:
    fill: 'rgb(244, 233, 203)'
  title:
    fill: 'rgb(244, 233, 203)'

celestial_equator:
  label:
    fill: hsl(220, 76%, 54%)
    stroke: hsl(208, 23%, 12%)
  line:
    stroke: hsl(220, 72%, 52%)

ecliptic:
  label:
    fill: hsl(4, 78%, 54%)
    stroke: hsl(208, 23%, 12%)
  line:
    stroke: hsl(4, 78%, 52%)

horizon:
  line:
    stroke: hsl(208, 23%, 13%)
  label:
    fill: hsl(208, 23%, 84%)

gridlines:
  label:
    opacity: 1
    fill: hsl(208, 23%, 84%)
  line:
    opacity: 0.6
    stroke: '#888'

# Stars
star:
  marker:
    fill: rgb(244, 233, 203)
    stroke: rgb(46, 61, 74)
  label:
    fill: rgb(244, 233, 203)
bayer_labels:
  opacity: 1
  fill: rgb(244, 233, 203)
flamsteed_labels:
  fill: rgb(244, 233, 203)

# Constellations
constellation_labels:
  opacity: 0.75
  fill: rgb(244, 233, 203)
constellation_lines:
  opacity: 0.8
  stroke: rgb(34, 124, 130)
constellation_borders:
  stroke: hsl(208, 23%, 2%)

# Milky Way
milky_way:
  opacity: 0.14
  fill: '#94c5e3'
  stroke_width: 0

# Solar System
planets:
  label:
    fill: hsl(284, 78%, 90%)
  marker:
    opacity: 1
    fill: hsl(284, 80%, 80%)
sun:
  marker:
    fill: '#ffd22e'
    stroke: 'hsl(47, 100%, 29%)'

# DSOs
dso_galaxy:
  marker:
    opacity: 1
    fill: hsl(328, 30%, 56%)
    stroke: hsl(328, 63%, 24%)
  label:
    fill: hsl(328, 30%, 56%)

dso_nebula: &DSO-NEB
  marker:
    opacity: 1
    fill: hsl(118, 23%, 54%)
    stroke: hsl(118, 23%, 20%)
  label:
    fill: hsl(118, 23%, 54%)

dso_planetary_nebula:
  marker:
    opacity: 1
    fill: hsl(118, 23%, 54%)
    stroke: hsl(118, 43%, 70%)
  label:
    fill: hsl(118, 23%, 54%)

dso_open_cluster: &DSO-OC
  marker:
    fill: hsl(44, 70%, 64%)
    stroke: hsl(208, 23%, 24%)
    stroke_width: 4
  label:
    fill: hsl(44, 70%, 64%)
dso_association_stars: *DSO-OC

dso_globular_cluster:
  marker:
    opacity: 1
    fill: hsl(44deg 70% 64%)
    stroke: rgb(46, 61, 74)
  label:
    fill: hsl(44, 70%, 64%)

dso_unknown: &DSO
  marker:
    opacity: 1
    fill: hsl(91, 62%, 82%)
    stroke: hsl(91, 53%, 40%)
  label:
    fill: hsl(91, 53%, 40%)
dso_dark_nebula: *DSO
dso_supernova_remnant: *DSO
dso_nova_star: *DSO
dso_nonexistant: *DSO
dso_unknown: *DSO
dso_duplicate: *DSO

BLUE_NIGHT

Very dark blue background with colored markers

Source
axes:
  background:
    fill: hsl(210, 29%, 15%)

base:
  text_stroke: hsl(210, 29%, 15%)

figure:
  background:
    fill: hsl(210, 29%, 8%)

title:
  fill: hsl(210, 29%, 94%)

legend:
  background:
    fill: hsl(210, 29%, 20%)
    stroke: hsl(210, 29%, 60%)
  labels:
    fill: hsl(210, 29%, 94%)
  title:
    fill: hsl(210, 29%, 94%)

gridlines:
  label:
    opacity: 1
    fill: hsl(209, 53%, 94%)
  line:
    opacity: 0.8
    stroke: hsl(210, 19%, 45%)
    width: 1

zenith:
  marker:
    fill: hsl(209, 20%, 75%)
  label:
    fill: hsl(209, 20%, 75%)

horizon:
  line:
    stroke: hsl(210, 36%, 11%)
  label:
    fill: hsl(210, 29%, 94%)

celestial_equator:
  label:
    fill: hsl(211, 47%, 81%)
    stroke: hsl(210, 29%, 15%)
  line:
    stroke: hsl(211, 47%, 61%)

galactic_equator:
  label:
    fill: hsl(211, 47%, 91%)
    stroke: hsl(210, 29%, 15%)
  line:
    stroke: hsl(211, 47%, 91%)

ecliptic:
  label:
    fill: hsl(1, 90%, 60%)
    stroke: hsl(210, 29%, 15%)
  line:
    stroke: hsl(1, 80%, 40%)
    opacity: 1

# Stars
star:
  label:
    fill: hsl(210, 29%, 94%)
  marker:
    fill: hsl(210, 29%, 98%)
    stroke: hsl(210, 29%, 15%)

bayer_labels:
  opacity: 0.9
  fill: hsl(210, 29%, 94%)

flamsteed_labels:
  opacity: 0.9
  fill: hsl(210, 29%, 94%)


# Constellations
constellation_lines:
  opacity: 0.64
  stroke: hsl(91, 60%, 70%)
constellation_labels:
  opacity: 1
  fill: hsl(210, 10%, 56%)
  stroke: hsl(210, 29%, 15%)
constellation_borders:
  width: 2
  stroke: hsl(209, 50%, 74%)

# Milky Way
milky_way:
  opacity: 0.4
  fill: hsl(210, 29%, 25%)
  stroke_width: 0

# DSOs
dso_double_star:
  label:
    fill: hsl(209, 23%, 72%)
  marker:
    opacity: 0.8
    fill: '#88c0d0'
    stroke: '#88c0d0'

dso_galaxy:
  marker:
    opacity: 1
    fill: hsl(323, 34%, 54%)
    stroke: hsl(321, 97%, 83%)
    stroke_width: 2
  label:
    fill: hsl(321, 95%, 80%)

dso_nebula: &DSO-NEB
  marker:
    opacity: 1
    fill: hsl(160, 15%, 44%)
    stroke: hsl(119, 100%, 95%)
  label:
    fill: hsl(119, 95%, 90%)
dso_planetary_nebula: *DSO-NEB

dso_open_cluster: &DSO-OC
  marker:
    opacity: 0.9
    fill: hsl(62, 72%, 43%)
    stroke: hsl(58, 100%, 68%)
    stroke_width: 1.75
  label:
    fill: hsl(58, 98%, 58%)
dso_association_stars: *DSO-OC

dso_globular_cluster:
  marker:
    opacity: 1
    fill: hsl(62, 29%, 14%)
    stroke: hsl(58, 98%, 72%)
  label:
    fill: hsl(58, 98%, 58%)

dso_unknown: &DSO
  label:
    fill: hsl(209, 23%, 72%)
  marker:
    opacity: 0.46
    fill: hsl(209, 50%, 78%)
    stroke: hsl(209, 50%, 20%)
    zorder: -500
dso_dark_nebula: *DSO
dso_supernova_remnant: *DSO
dso_nova_star: *DSO
dso_nonexistant: *DSO
dso_unknown: *DSO
dso_duplicate: *DSO

# Solar System
sun:
  label:
    fill: hsl(60, 92%, 71%)
    font_size: 9
  marker:
    fill: hsl(209, 50%, 90%)
    stroke: hsl(209, 50%, 94%)

moon:
  label:
    fill: '#f2f2f2'
    opacity: 0.8
  marker:
    fill: '#e9e9e9'

planets:
  label:
    fill: hsl(37, 80%, 76%)
  marker:
    opacity: 1
    fill: hsl(37, 80%, 56%)

ANTIQUE

Antique map inspired colors

Source
# Yellow Sat - hsl(49, 92%, 77%)
# Yellow unsat - hsl(48, 80%, 92%)
# blue - hsl(188, 35%, 76%)
# blue gray - hsl(225, 25%, 88%)
# green - hsl(71, 58%, 76%)
# red - hsl(26, 93%, 82%)

axes:
  background:
    fill: hsl(48, 80%, 96%)

base:
  text_stroke: hsl(48, 80%, 96%)

figure:
  background:
    fill: hsl(60, 9%, 29%)

horizon:
  line:
    stroke: hsl(60, 3%, 32%)
  label:
    fill: hsl(60, 20%, 93%)

zenith:
  marker:
    fill: hsl(26, 93%, 82%)
  label:
    fill: hsl(26, 93%, 82%)

title:
  fill: hsl(60, 20%, 93%)

bayer_labels:
  opacity: 0.9
  fill: hsl(60, 3%, 17%)

flamsteed_labels:
  opacity: 0.9
  fill: hsl(60, 3%, 17%)

# Lines
celestial_equator:
  label:
    fill: hsl(188, 35%, 56%)
    stroke: hsl(48, 80%, 96%)
  line:
    stroke: hsl(188, 35%, 76%)
    opacity: 0.62

ecliptic:
  label:
    fill: hsl(26, 63%, 50%)
    stroke: hsl(48, 80%, 96%)
  line:
    stroke: hsl(26, 90%, 62%)
    opacity: 1

# Constellations
constellation_lines:
  opacity: 0.3
  stroke: hsl(48, 80%, 14%)
constellation_labels:
  font_weight: 200
  fill: hsl(60, 3%, 52%)
  opacity: 0.46
  font_name: "serif"
constellation_borders:
  stroke: hsl(37, 33%, 40%)
  opacity: 0.8
  zorder: -500

milky_way:
  opacity: 0.2
  fill: hsl(48, 40%, 75%)

gridlines:
  label:
    opacity: 0.8
    fill: hsl(60, 3%, 92%)
    font_weight: 200
  line:
    opacity: 0.6
    stroke: hsl(68, 11%, 71%)
    width: 1
star:
  marker:
    fill: hsl(60, 12%, 24%)
    stroke: hsl(48, 80%, 96%)
  label:
    fill: hsl(60, 3%, 24%)
planets:
  marker:
    symbol: circle
    opacity: 0.68
    fill: hsl(26, 93%, 82%)
    stroke: hsl(26, 93%, 52%)
  label:
    fill: hsl(60, 3%, 42%)
sun:
  label:
    fill: hsl(60, 3%, 42%)
  marker:
    fill: hsl(60, 12%, 32%)
    stroke: hsl(60, 12%, 32%)
moon:
  label:
    fill: hsl(60, 3%, 42%)
  marker:
    fill: hsl(48, 80%, 96%)
    stroke: hsl(60, 12%, 32%)

# DSOs
dso_double_star:
  marker:
    opacity: 0.9
dso_galaxy:
  marker:
    opacity: 1
    fill: hsl(26, 93%, 82%)
    stroke:  hsl(26, 93%, 32%)
  label:
    fill: hsl(26, 93%, 32%)
dso_nebula:
  marker:
    opacity: 1
    fill: hsl(71, 58%, 80%)
    stroke: hsl(71, 58%, 30%)
  label:
    fill: hsl(71, 58%, 30%)
dso_planetary_nebula:
  marker:
    opacity: 1
    fill: hsl(71, 58%, 80%)
    stroke: hsl(71, 58%, 30%)
  label:
    fill: hsl(71, 58%, 30%)

dso_open_cluster: &DSO-OC
  marker:
    opacity: 1
    fill: hsl(49, 96%, 76%)
    stroke: hsl(49, 92%, 17%)
  label:
    fill: hsl(49, 92%, 17%)
dso_association_stars: *DSO-OC

dso_globular_cluster:
  marker:
    opacity: 1
    fill: hsl(49, 96%, 76%)
    stroke: hsl(49, 92%, 17%)
  label:
    fill: hsl(49, 92%, 17%)

# other DSOs
dso_unknown: &DSO
  marker:
    opacity: 0.8
    fill: hsl(71, 58%, 76%)
    stroke: hsl(71, 58%, 36%)
  label:
    fill: hsl(71, 58%, 36%)
dso_dark_nebula: *DSO
dso_supernova_remnant: *DSO
dso_nova_star: *DSO
dso_nonexistant: *DSO
dso_unknown: *DSO
dso_duplicate: *DSO

legend:
  background: 
    fill: hsl(48, 50%, 98%)
  labels:
    fill: hsl(60, 3%, 24%)
  title:
    fill: hsl(60, 3%, 24%)

NORD

Nord inspired colors

Source
axes:
  background:
    fill: '#4c566a'

base:
  text_stroke: '#4c566a'

title:
  fill: '#a3be8c'

horizon:
  line:
    stroke: '#2e3440'
  label:
    fill: '#a3be8c'

zenith:
  marker:
    fill: '#D99CBA'
  label:
    fill: '#D99CBA'

celestial_equator:
  label:
    fill: '#77A67F'
    stroke: '#4c566a'
  line:
    stroke: '#77A67F'

ecliptic:
  label:
    fill: '#D99CBA'
    stroke: '#4c566a'
  line:
    stroke: '#D99CBA'

# Constellations
constellation_labels:
  opacity: 0.7
  fill: rgb(230, 204, 147)
constellation_lines:
  opacity: 0.36
  stroke: rgb(230, 204, 147)
constellation_borders:
  stroke: hsl(220, 16%, 12%)
  opacity: 0.8

dso_double_star:
  marker:
    opacity: 0.9
    fill: '#88c0d0'
    stroke: '#88c0d0'
  label:
    fill: '#88c0d0'
dso_galaxy:
  marker:
    opacity: 0.7
    fill: hsl(330, 45%, 74%)
    stroke: hsl(330, 45%, 63%)
  label:
    fill: hsl(330, 45%, 63%)
dso_nebula:
  marker:
    opacity: 0.7
    fill: hsl(172, 15%, 56%)
    stroke: hsl(172, 15%, 50%)
  label:
    fill: hsl(172, 15%, 56%)
dso_planetary_nebula:
  marker:
    opacity: 0.7
    fill: hsl(172, 15%, 56%)
    stroke: hsl(172, 15%, 50%)
  label:
    fill: hsl(172, 15%, 56%)

dso_open_cluster: &DSO-OC
  marker:
    opacity: 0.7
    fill: hsl(61, 45%, 73%)
    stroke: hsl(61, 45%, 5%)
  label:
    fill: '#9d9f3c'
dso_association_stars: *DSO-OC

dso_globular_cluster:
  marker:
    opacity: 0.7
    fill: '#c7c7c7'
    stroke: '#444'
  label:
    fill: '#444'


# other DSOs
dso_unknown: &DSO
  marker:
    opacity: 0.7
    fill: '#9CD9BB'
    stroke: '#52896e'
  label:
    fill: '#52896e'
dso_dark_nebula: *DSO
dso_supernova_remnant: *DSO
dso_nova_star: *DSO
dso_nonexistant: *DSO
dso_unknown: *DSO
dso_duplicate: *DSO

gridlines:
  label:
    opacity: 0.8
    fill: '#c2d2f3'
  line:
    opacity: 0.8
    stroke: '#888'

milky_way:
  opacity: 0.16
  fill: '#95a3bf'

planets:
  label:
    fill: '#D99CCF'
  marker:
    opacity: 0.8
    fill: '#D99CCF'

star:
  label:
    fill: '#88c0d0'
  marker:
    fill: '#88c0d0'
    stroke: '#4c566a'
sun:
  label:
    fill: '#88c0d0'
  marker:
    fill: '#88c0d0'
    stroke: '#88c0d0'
moon:
  label:
    fill: '#88c0d0'
  marker:
    fill: '#88c0d0'

bayer_labels:
  opacity: 0.9
  fill: '#85c9de'

legend:
  background:
    fill: '#515e76'
  labels:
    fill: '#d5e0f5'
  title:
    fill: '#d5e0f5'

OPTIC

Basic styling tailored for optic plots

Source
figure:
  background:
    fill: null
axes:
  border:
    width: 8

legend:
  location: "outside_bottom_right"

star:
  label:
    font_size: 58
bayer_labels:
  font_size: 56
flamsteed_labels:
  font_size: 50

planets:
  marker:
    size: 60


ecliptic:
  label:
    font_size: 60
celestial_equator:
  label:
    font_size: 60

MAP

Basic styling tailored for map plots

Source
# Map Styles

constellation_lines:
  width: 6

constellation_labels:
  font_size: 50
  font_weight: 800

star:
  label:
    font_size: 42

PUBLICATION

Styling rules tailored for plots that will be imported to design applications

Source
star:
  marker:
    stroke_width: 0
    stroke: null

constellation_labels:
  stroke_width: 0
  stroke: null