private BufferedColor PickColor1D(BufferedColor color, PickerType type, float value)
    {
        switch (type)
        {
        case PickerType.R: return(color.PickR(value));

        case PickerType.G: return(color.PickG(value));

        case PickerType.B: return(color.PickB(value));

        case PickerType.H: return(color.PickH(value * HUE_LOOP));

        case PickerType.S: return(color.PickS(value));

        case PickerType.V: return(color.PickV(value));

        case PickerType.A: return(color.PickA(value));

        default:
            throw new Exception("Picker type " + type + " is not associated with a single color value.");
        }
    }
    private BufferedColor PickColor1D(BufferedColor color, PickerType type, float value)
    {
        switch (type)
        {
        case PickerType.R: return(color.PickR(Mathf.Lerp(AS.r.min, AS.r.max, value)));

        case PickerType.G: return(color.PickG(Mathf.Lerp(AS.g.min, AS.g.max, value)));

        case PickerType.B: return(color.PickB(Mathf.Lerp(AS.b.min, AS.b.max, value)));

        case PickerType.H: return(color.PickH(Mathf.Lerp(AS.h.min, AS.h.max, value) * HUE_LOOP));

        case PickerType.S: return(color.PickS(Mathf.Lerp(AS.s.min, AS.s.max, value)));

        case PickerType.V: return(color.PickV(Mathf.Lerp(AS.v.min, AS.v.max, value)));

        case PickerType.A: return(color.PickA(Mathf.Lerp(AS.a.min, AS.a.max, value)));

        default:
            throw new Exception("Picker type " + type + " is not associated with a single color value.");
        }
    }