static int whiteWithOpacity(double opacity) { return whiteWithAlpha(clamp((255.0 * opacity).toInt())); }