---
title: 'Colour, palettes, stops, and locks'
part: 'Part II — The Thread Vocabulary'
partNumber: 2
order: 4
subtitle: 'Named and hex colours, palette metadata, stops, locks, and colour economics'
---

_Content coming soon._ This chapter will cover the native colour system: named and hex
colours, palette slots, `slotcolor`, colour-space helpers, background colour, machine stops,
locks, and batching work by thread.

<Run>{`// Colours can be named, hex, or selected by palette slot
color 'crimson'
repeat 4 [ fd 20 rt 90 ]
trim
color '#2b6cb0'
up  moveto 0 0  down
repeat 6 [ fd 10 rt 60 ]`}</Run>

<Checkpoint chapterId="ch-9">Chapter content coming soon.</Checkpoint>
