Exco
Member
Posts: 11
|
Post by Exco on Jul 20, 2017 13:33:16 GMT
The Formula of color changing: Formula for every pixel is (a+b)/2, where "a" represents base color, and "b" - chosen hex color. Other words: If there is a pixel with a=RBG (255, 255, 255) and chosen hex color b=RGB (255, 0, 0), then you will receive (a+b)/2=RBG (255, 127, 127). EDIT: The formula was changed: Instead of (a+b)/2 now we will have (a+b+50)/3! This time: if a=RGB (0, 255, 0), and chosen hex color b=RGB (0, 0, 255), you will receive (a+b+50)/3=RGB (102, 187, 102)! Slightly darker version, right?
|
|