File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,8 +124,10 @@ Arguments are normalized as follows:
124124it is expanded to all adjusters available for the given [=colorspace=] plus alpha.
1251252. If a percentage is omitted and there are no adjusters present on any color arguments,
126126it defaults to 50% (an equal mix of the two colors).
127- 3. If only some adjusters are present, the remaining ones default to 0% (i.e. the corresponding components are taken from the first color).
128- 4. If the sum of corresponding adjusters across all colors is not 100%, percentages are scaled proportionally so that the sum is exactly 100%.
127+ 3. Adjusters that are not present on **any** color default to 0% (i.e. the corresponding components are taken from the first color).
128+ 4. Adjusters that are only present on one of the colors default to <code> 100% - <i> p</i></code> on the second color,
129+ where <i> p</i> is the percentage of the corresponding adjuster in the other color.
130+ 5. If the sum of corresponding adjusters across all colors is not 100%, percentages are scaled proportionally so that the sum is exactly 100%.
129131
130132Issue: Do missing adjusters default to 0% everywhere, or only in the second color?
131133If the former, we can end up with adjusters that sum to 0% pretty easily.
You can’t perform that action at this time.
0 commit comments