static @NotNull TextColor color(final float r, final float g, final float b) {
    return color((int) (r * 0xff), (int) (g * 0xff), (int) (b * 0xff));
  }
Create a new color with the individual components as floats.

@param r red, from [0, 1]
@param g green, within [0, 1]
@param b blue, within [0, 1]
@return a new text colour
@since 4.0.0
api/src/main/java/net/kyori/adventure/text/format/TextColor.java