Package de.larsgrefer.sass.embedded.util
Class ColorUtil
- java.lang.Object
-
- de.larsgrefer.sass.embedded.util.ColorUtil
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.sass_lang.embedded_protocol.Value.Colorrgb(int rgb)static com.sass_lang.embedded_protocol.Value.Colorrgba(int rgb, double alpha)static com.sass_lang.embedded_protocol.Value.Colorrgba(int red, int green, int blue, double alpha)static com.sass_lang.embedded_protocol.Value.ColortoHslColor(com.sass_lang.embedded_protocol.Value.Color color)static com.sass_lang.embedded_protocol.Value.ColortoHwbColor(com.sass_lang.embedded_protocol.Value.Color color)static com.sass_lang.embedded_protocol.Value.ColortoRgbColor(com.sass_lang.embedded_protocol.Value.Color color)static com.sass_lang.embedded_protocol.Value.ColortoRgbColorFromHsl(com.sass_lang.embedded_protocol.Value.ColorOrBuilder hslColor)static com.sass_lang.embedded_protocol.Value.ColortoRgbColorFromHwb(com.sass_lang.embedded_protocol.Value.ColorOrBuilder hwbColor)
-
-
-
Method Detail
-
toRgbColor
public static com.sass_lang.embedded_protocol.Value.Color toRgbColor(com.sass_lang.embedded_protocol.Value.Color color)
-
toRgbColorFromHwb
public static com.sass_lang.embedded_protocol.Value.Color toRgbColorFromHwb(com.sass_lang.embedded_protocol.Value.ColorOrBuilder hwbColor)
-
toRgbColorFromHsl
public static com.sass_lang.embedded_protocol.Value.Color toRgbColorFromHsl(com.sass_lang.embedded_protocol.Value.ColorOrBuilder hslColor)
-
toHslColor
public static com.sass_lang.embedded_protocol.Value.Color toHslColor(com.sass_lang.embedded_protocol.Value.Color color)
-
toHwbColor
public static com.sass_lang.embedded_protocol.Value.Color toHwbColor(com.sass_lang.embedded_protocol.Value.Color color)
-
rgb
public static com.sass_lang.embedded_protocol.Value.Color rgb(int rgb)
-
rgba
public static com.sass_lang.embedded_protocol.Value.Color rgba(int rgb, double alpha)
-
rgba
public static com.sass_lang.embedded_protocol.Value.Color rgba(int red, int green, int blue, double alpha)
-
-