saturate a float value , clamping values below 0 to 0 and above 1 to 1 concode_field_sep Color baseColor concode_elem_sep String targetColorKey concode_elem_sep String baseColorKey concode_elem_sep Color actualColor concode_elem_sep String mustContrastColorKey concode_elem_sep Color mustContrastColor concode_elem_sep Color value concode_elem_sep Color fallback concode_elem_sep String actualColorKey concode_elem_sep Color targetColor concode_field_sep Color getBaseColor concode_elem_sep float[] percentageDiff concode_elem_sep Color getActualColor concode_elem_sep Color ensureContrast concode_elem_sep void clear concode_elem_sep Color getColor concode_elem_sep boolean hasMustContrastColor concode_elem_sep Color getMustContrastColor concode_elem_sep void out concode_elem_sep Color getTargetColor concode_elem_sep Object createValue concode_elem_sep boolean checkState concode_elem_sep Color fetchColor concode_elem_sep Color deriveColor
float function ( float arg0 ) { return Math . max ( 0 , Math . min ( 1 , arg0 ) ) ; }