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.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
mmala | mmala | The colour to read. |
Examples
Section titled “Examples”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);
}