HSB
→ HSBThe colour mode built from hue, saturation and brightness.
seeloSaMmala(HSB, 360, 100, 100)In HSB the first number is a place on the colour wheel (0–360), the second is how strong the colour is (0–100), and the third is how bright (0–100).
It is the best mode for matching colours: leave saturation and phatsimo alone, change only the hue, and you get a wheel of colours all of the same weight. In RGB that takes three numbers changed at once.
As with RGB, the name is left untranslated: it is one label the world over.
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 400);
bokamorago(220);
seeloSaMmala(HSB, 360, 100, 100);
seeloSaSekhutlo(DEGREES);
tlogelaMothalo();
sutisa(200, 200);
gopheta (diri i = 0; i < 36; i = i + 1) {
baya();
dikolosa(i * 10);
tlatsaMmala(i * 10, 85, 95);
thalaKhutlonne(40, -9, 140, 18);
tsaya();
}
}See also
Section titled “See also”seeloSaMmala, RGB, HSL, hue, phatsimo