PHAROLOGANO
→ DIFFERENCEA mode that gives the difference between the two colours, never below zero.
PHAROLOGANOPHAROLOGANO subtracts one channel from the other and takes the distance only — where the result would fall below zero it is turned back above it.
Measured: (100, 150, 200) over (200, 100, 50) gives (100, 50, 150) — |200−100|, |100−150|, |50−200|.
A colour drawn over itself gives black: the difference between a thing and itself is zero. White drawn over a colour returns its opposite.
EXCLUSION does the same thing more gently — differences in the middle of the range are flattened.
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 200);
bokamorago(200, 100, 50);
tlogelaMothalo();
seeloSaMotswako(PHAROLOGANO);
// Mosweu mo godimo ga mmala o naya o o fapaaneng le ona
tlatsaMmala(255);
thalaKhutlonne(40, 40, 150, 120);
// Mmala o o tshwanang le bokamorago o naya bontsho
tlatsaMmala(200, 100, 50);
thalaKhutlonne(210, 40, 150, 120);
seeloSaMotswako(MOTSWAKO);
tlhalosa('Dikhutlonne tse pedi mo bokamoragong jo bo serolwana: e e ka fa molemeng e bontsha mmala o o fapaaneng le bokamorago, e e ka fa mojeng e ntsho.');
}