Skip to content
AtsuraeDownload

Development sign-in

Only on a local server with DEV_AUTH. Enter any account name.

Color, opacity and shadow

Colors are hex codes in sRGB:

Format Example Meaning
#RRGGBB #FF4F8B pink
#RRGGBBAA #00000066 black at 40% opacity

The # is optional, and upper- and lowercase both work. Transparency (AA) goes from 00 (invisible) to FF (solid). Some handy values:

Alpha Opacity
FF 100%
CC 80%
99 60%
80 50%
66 40%
40 25%
1A 10%

Where colors go:

Field On Default
color text color, progress fill, line color white
fill inside of shapes color, or white; no fill if the shape has a stroke
stroke shape outline none
track unfilled part of a progress bar #FFFFFF40
tint recolors an image (for single-color icons) none

In Customize Widgets, people can pick a color for each widget. That color replaces:

  • the color of text
  • the fill of progress bars and rings
  • the tint of tinted images

It doesn’t change shapes, progress tracks, or images without a tint. So design your widget so it looks right in white and in any color someone might pick: use color for the parts that should follow their choice, and fill/stroke for fixed parts like backgrounds.

Reset in Customize Widgets brings back your widget’s own colors.

opacity makes a whole element transparent, from 0 (invisible) to 1 (solid, the default):

{ "text": "{weekday}", "opacity": 0.7 }

Opacity is the easiest way to create hierarchy: keep the main value at 1 and secondary labels at 0.6–0.8. Unlike an alpha in color, it also survives the person picking a color.

Every element has a soft dark shadow by default. It keeps white text readable on bright parts of a wallpaper without being noticeable on dark ones. Turn it off with:

"shadow": false

Turn it off for background shapes (a shadow behind a translucent card looks muddy) and for dark elements on light designs. See Readable on any wallpaper.