Skip to content
ExamplesOpen editor ↗

botalaJwaLoapi

→ blue()

Reads how much blue a colour contains.

botalaJwaLoapi(colour)

See botalaJwaTlhaga for why the name is long: botala is one word covering both blue and green, and Bopa gives neither of them the bare root.

loapi — the sky we can see — is something every child knows, and that is what makes the name easy to remember even though it is long.

By default it returns a number from 0 to 255, and it follows seeloSaMmala.

NameTypeDescription
mmalammalaThe colour to read.
Build a new colour out of an old one
tiro setaLoeto() {
  thalaKanefase(400, 200);
  bokamorago(220);
  tlogelaMothalo();
  metlha mmala = bopaMmala(40, 110, 230);
  tlatsaMmala(mmala);
  thalaKhutlonne(40, 60, 140, 80);
  metlha bo = botalaJwaLoapi(mmala);
  tlatsaMmala(bo, bo * 0.4, 60);
  thalaKhutlonne(220, 60, 140, 80);
}

bohibidu, botalaJwaTlhaga, alpha, bopaMmala