lightColor
algorithm produces incorrect colors for specific sources
#33
Labels
Milestone
lightColor
algorithm produces incorrect colors for specific sources
#33
While the algorithm produces palettes as expected for most source colors, but produces inaccurate light colors for some sources. This has been known for some time, but we haven't had any incentive as we're not producing colors in the error-prone color space in our own internal systems.
Some known error-prone source colors:
Without having dug too deep, we have 3 possible sources of error:
HSVColor
frompackage:flutter/src/painting/colors.dart
BrightenExtension
:flume_mobile/lib/src/ambiance/algorithm/brighten.dart
Lines 11 to 17 in c27db34
SaturateExtension
:flume_mobile/lib/src/ambiance/algorithm/saturate.dart
Lines 9 to 16 in c27db34
Where my initial bet is my implementations of CIELAB or LCH conversions being incorrect.
What needs to be done:
The text was updated successfully, but these errors were encountered: