79454115

Date: 2025-02-20 10:21:58
Score: 1.5
Natty:
Report link

Simple algorithm : https://www.72.sk/menu.php?m=RGA

So, we introduce the degree of additivity (with an approximate relationship), Adt :

Adt = 0.2220×Delta − 0.0875×Avg + 0.0235×Max where : Delta = ABS(a1 - a2) Avg = (a1 + a2) / 2 Max = MAX(a1, a2)

Thus, the mixture of two colors, a = a1 + a2, can be calculated as follows:

a ≈ Adt(a1, a2) + Avg(a1, a2) This result must of course be in the interval a1, a2.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jan Tungli