---
title: Colours and gradients
description: How colour, gradients, backgrounds and the faint grid work in Elroot Dot Matrix.
---

# Colours and gradients

## One colour

`color` sets the lit dots. Each dot is drawn at one of eight brightness levels, from 30% to 100% opacity, so a single colour already gives depth.

## A gradient by brightness

Set `color2` and the dimmest dots take that colour, blending into `color` for the brightest. On an art's page, tick **Gradient to**; in a request, say "a lime to cyan gradient".

Plasma, Aurora and Galaxy look best this way, since they use the whole brightness range.

## Background

Leave `background` empty for a transparent canvas: the art then sits on whatever is behind it. Set a hex colour to fill the canvas, which also fills the PNG and SVG stills.

## The faint grid

With `grid` on, a faint ring marks every dot position. It is white at 10% opacity on dark or transparent backgrounds, and black at 12% on light ones. Turn it off for a cleaner look on light pages.

## Colours on the site

The controls offer five starting points: Elroot lime `#A6E22E`, amber `#FFB000`, cyan `#22D3EE`, rose `#FB7185` and white `#FFFFFF`. Any hex colour works.
