History of Idiom 154 > diff from v20 to v21
Edit summary for version 21 by programming-idioms.org:
[Ruby] +DemoURL
[Ruby] +DemoURL
↷
Version 20
2016-11-13, 13:12:23
Version 21
2016-11-13, 13:19:04
Idiom #154 Halfway between two hex color codes
Find color c, the average between colors c1, c2.
c, c1, c2 are strings of hex color codes: 7 chars, beginning with a number sign # .
Assume linear computations, ignore gamma corrections.
Idiom #154 Halfway between two hex color codes
Find color c, the average between colors c1, c2.
c, c1, c2 are strings of hex color codes: 7 chars, beginning with a number sign # .
Assume linear computations, ignore gamma corrections.