fromValue

Retrieves the Contrast level corresponding to the given value.

Return

The matching Contrast level, or Default if no match is found.

Parameters

value

The numeric value to match against the contrast levels.