02Chapter 2: Working in HSL: hue, saturation, and lightnessThis chapter assumes you know basic HTML and CSS, can read hex and RGB colour values, and can edit a stylesheet and view it in a browser. It covers HSL, the colour model the rest of this tutorial uses to build palettes.3 min read
03Chapter 3: Choosing your primary colourThis chapter assumes you know basic HTML and CSS, can read hex and RGB values, and can edit a stylesheet and view it in a browser. It also assumes you have met HSL (hue, saturation, lightness) in the previous chapter. Here you will pick the one colour that identifies your site and write it down as a4 min read
04Chapter 4: Building the neutral coloursThis chapter assumes you can write CSS custom properties, read HSL values, and have chosen a primary colour. Here we build the neutral scale that the rest of the palette sits on.3 min read
05Chapter 5: Picking an accent colourThis chapter assumes you have a primary colour and a neutral scale, and that you can read HSL values (hue, saturation, lightness) from the earlier chapters. The accent is the third role. You use it to draw the eye to a small number of things.3 min read
06Chapter 6: Balancing colours with the 60-30-10 guidelineThis chapter assumes you can write basic HTML and CSS, read HSL values, and already have a primary, a neutral scale, and an accent from the earlier chapters. Here you decide how much of each colour appears on a page.3 min read
07Chapter 7: Expanding each colour into a scale of shadesThis chapter assumes you can read HSL values (hue, saturation, lightness) and that you have picked a primary colour, a set of neutrals, and an accent. A single value such as --primary-500 is not enough for a real interface. You also need a lighter tint for a hover background, a darker shade for li3 min read
08Chapter 8: Checking contrast against WCAGThis chapter assumes you can write basic HTML and CSS, read hex and RGB colour values, and have built a palette with lightness scales like the one in the earlier chapters. You will learn how to measure whether two colours are readable together and how to pick pairs from your scales that pass.3 min read
09Chapter 9: Adding success, warning, and error coloursStatus colours tell users whether something worked, needs attention, or failed. This chapter adds them to the palette you built in the earlier chapters. It assumes you can write CSS custom properties, read HSL values, and check contrast ratios with the WCAG formula from the contrast chapter.4 min read
10Chapter 10: Defining the palette as CSS custom propertiesThis chapter assumes you can write CSS selectors and that you have built the HSL colour scales from the earlier chapters. Here you move those colours into a stylesheet as custom properties. You will arrange them in two layers so that components never use raw shades.3 min read
11Chapter 11: Adapting the palette for dark modeThis chapter assumes you can write CSS custom properties, know HSL, and have a palette with a semantic layer on top, as built in the earlier chapters. You will add a dark theme by changing only the semantic tokens.3 min read
12Chapter 12: Testing and documenting the finished paletteThis chapter assumes you can write CSS custom properties, read HSL values, and know the WCAG contrast thresholds from the earlier chapters. You will review a finished palette, automate the contrast check, and write down the decisions so others can keep the palette consistent.3 min read