In my code I have this:

```
public static int darkenColor(int color, float value) {
    float[] hsv = new float[3];
    Color.colorToHSV(color, hsv);
    hsv[2] *= value; // value component

    return Color.HSVToColor(hsv);
}

```

I want to create its counterpart, `lightenColor`. What is the correct formula?