Artifact [e267dc950e]

Artifact e267dc950e371bb337e06d7851c75c9856ddc172:

Wiki page [BlackAndWhite] by user 2013-08-31 13:52:13.
D 2013-08-31T13:52:13.859
L BlackAndWhite
N text/x-markdown
P 8e152894e98073e45cdc5e5a21b427e5f6b01772
U user
W 360
# Black and White

It's very simple algorithm. The idea is to find length of RGB vector and length of biggest RGB vector (with colors 255, 255, 255) and if length of RGB vector is longer then some threshold (part of biggest RGB vector) - result color is white, black otherwise. So threshold (in percents) is needed to determine which color is black or white.
Z 5ff2c3bd9b7903a9c90e57d20d18c614