All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.cesium.Color.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

@file:JsModule("cesium")

@file:Suppress(
    "EXTERNAL_CLASS_CONSTRUCTOR_PROPERTY_PARAMETER",
)

package cesium

/**
 * A color, specified using red, green, blue, and alpha values,
 * which range from `0` (no intensity) to `1.0` (full intensity).
 * @see Online Documentation
 *
 * @constructor
 * @property [red] The red component.
 *   Default value - `1.0`
 * @property [green] The green component.
 *   Default value - `1.0`
 * @property [blue] The blue component.
 *   Default value - `1.0`
 * @property [alpha] The alpha component.
 *   Default value - `1.0`
 * @see Online Documentation
 */
external class Color(
    var red: Double = definedExternally,
    var green: Double = definedExternally,
    var blue: Double = definedExternally,
    var alpha: Double = definedExternally,
) {
    /**
     * Returns a duplicate of a Color instance.
     * @param [result] The object to store the result in, if undefined a new instance will be created.
     * @return The modified result parameter or a new instance if result was undefined.
     * @see Online Documentation
     */
    fun clone(result: Color? = definedExternally): Color

    /**
     * Returns `true` if this Color equals other componentwise within the specified epsilon.
     * @param [other] The Color to compare for equality.
     * @param [epsilon] The epsilon to use for equality testing.
     *   Default value - `0.0`
     * @return `true` if the Colors are equal within the specified epsilon; otherwise, `false`.
     * @see Online Documentation
     */
    fun equalsEpsilon(
        other: Color,
        epsilon: Double? = definedExternally,
    ): Boolean

    /**
     * Creates a string containing the CSS color value for this color.
     * @return The CSS equivalent of this color.
     * @see Online Documentation
     */
    fun toCssColorString(): String

    /**
     * Creates a string containing CSS hex string color value for this color.
     * @return The CSS hex string equivalent of this color.
     * @see Online Documentation
     */
    fun toCssHexString(): String

    /**
     * Converts this color to an array of red, green, blue, and alpha values
     * that are in the range of 0 to 255.
     * @param [result] The array to store the result in, if undefined a new instance will be created.
     * @return The modified result parameter or a new instance if result was undefined.
     * @see Online Documentation
     */
    fun toBytes(result: Array? = definedExternally): Array

    /**
     * Converts this color to a single numeric unsigned 32-bit RGBA value, using the endianness
     * of the system.
     * ```
     * const rgba = Color.BLUE.toRgba();
     * ```
     * @return A single numeric unsigned 32-bit RGBA value.
     * @see Online Documentation
     */
    fun toRgba(): Double

    /**
     * Brightens this color by the provided magnitude.
     * ```
     * const brightBlue = Color.BLUE.brighten(0.5, new Color());
     * ```
     * @param [magnitude] A positive number indicating the amount to brighten.
     * @param [result] The object onto which to store the result.
     * @return The modified result parameter.
     * @see Online Documentation
     */
    fun brighten(
        magnitude: Double,
        result: Color,
    ): Color

    /**
     * Darkens this color by the provided magnitude.
     * ```
     * const darkBlue = Color.BLUE.darken(0.5, new Color());
     * ```
     * @param [magnitude] A positive number indicating the amount to darken.
     * @param [result] The object onto which to store the result.
     * @return The modified result parameter.
     * @see Online Documentation
     */
    fun darken(
        magnitude: Double,
        result: Color,
    ): Color

    /**
     * Creates a new Color that has the same red, green, and blue components
     * as this Color, but with the specified alpha value.
     * ```
     * const translucentRed = Color.RED.withAlpha(0.9);
     * ```
     * @param [alpha] The new alpha component.
     * @param [result] The object onto which to store the result.
     * @return The modified result parameter or a new Color instance if one was not provided.
     * @see Online Documentation
     */
    fun withAlpha(
        alpha: Double,
        result: Color? = definedExternally,
    ): Color

    companion object : Packable {
        /**
         * Creates a Color instance from a [Cartesian4]. `x`, `y`, `z`,
         * and `w` map to `red`, `green`, `blue`, and `alpha`, respectively.
         * @param [cartesian] The source cartesian.
         * @param [result] The object onto which to store the result.
         * @return The modified result parameter or a new Color instance if one was not provided.
         * @see Online Documentation
         */
        fun fromCartesian4(
            cartesian: Cartesian4,
            result: Color? = definedExternally,
        ): Color

        /**
         * Creates a new Color specified using red, green, blue, and alpha values
         * that are in the range of 0 to 255, converting them internally to a range of 0.0 to 1.0.
         * @param [red] The red component.
         *   Default value - `255`
         * @param [green] The green component.
         *   Default value - `255`
         * @param [blue] The blue component.
         *   Default value - `255`
         * @param [alpha] The alpha component.
         *   Default value - `255`
         * @param [result] The object onto which to store the result.
         * @return The modified result parameter or a new Color instance if one was not provided.
         * @see Online Documentation
         */
        fun fromBytes(
            red: Double? = definedExternally,
            green: Double? = definedExternally,
            blue: Double? = definedExternally,
            alpha: Double? = definedExternally,
            result: Color? = definedExternally,
        ): Color

        /**
         * Creates a new Color that has the same red, green, and blue components
         * of the specified color, but with the specified alpha value.
         * ```
         * const translucentRed = Color.fromAlpha(Color.RED, 0.9);
         * ```
         * @param [color] The base color
         * @param [alpha] The new alpha component.
         * @param [result] The object onto which to store the result.
         * @return The modified result parameter or a new Color instance if one was not provided.
         * @see Online Documentation
         */
        fun fromAlpha(
            color: Color,
            alpha: Double,
            result: Color? = definedExternally,
        ): Color

        /**
         * Creates a new Color from a single numeric unsigned 32-bit RGBA value, using the endianness
         * of the system.
         * ```
         * const color = Color.fromRgba(0x67ADDFFF);
         * ```
         * @param [rgba] A single numeric unsigned 32-bit RGBA value.
         * @param [result] The object to store the result in, if undefined a new instance will be created.
         * @return The color object.
         * @see Online Documentation
         */
        fun fromRgba(
            rgba: Double,
            result: Color? = definedExternally,
        ): Color

        /**
         * Creates a Color instance from hue, saturation, and lightness.
         * @param [hue] The hue angle 0...1
         *   Default value - `0`
         * @param [saturation] The saturation value 0...1
         *   Default value - `0`
         * @param [lightness] The lightness value 0...1
         *   Default value - `0`
         * @param [alpha] The alpha component 0...1
         *   Default value - `1.0`
         * @param [result] The object to store the result in, if undefined a new instance will be created.
         * @return The color object.
         * @see Online Documentation
         */
        fun fromHsl(
            hue: Double? = definedExternally,
            saturation: Double? = definedExternally,
            lightness: Double? = definedExternally,
            alpha: Double? = definedExternally,
            result: Color? = definedExternally,
        ): Color

        /**
         * Creates a random color using the provided options. For reproducible random colors, you should
         * call [Math.setRandomNumberSeed] once at the beginning of your application.
         * ```
         * //Create a completely random color
         * const color = Color.fromRandom();
         *
         * //Create a random shade of yellow.
         * const color1 = Color.fromRandom({
         *     red : 1.0,
         *     green : 1.0,
         *     alpha : 1.0
         * });
         *
         * //Create a random bright color.
         * const color2 = Color.fromRandom({
         *     minimumRed : 0.75,
         *     minimumGreen : 0.75,
         *     minimumBlue : 0.75,
         *     alpha : 1.0
         * });
         * ```
         * @param [result] The object to store the result in, if undefined a new instance will be created.
         * @return The modified result parameter or a new instance if result was undefined.
         * @see Online Documentation
         */
        fun fromRandom(
            options: FromRandomOptions? = definedExternally,
            result: Color? = definedExternally,
        ): Color

        /**
         * @property [red] If specified, the red component to use instead of a randomized value.
         * @property [minimumRed] The maximum red value to generate if none was specified.
         *   Default value - `0.0`
         * @property [maximumRed] The minimum red value to generate if none was specified.
         *   Default value - `1.0`
         * @property [green] If specified, the green component to use instead of a randomized value.
         * @property [minimumGreen] The maximum green value to generate if none was specified.
         *   Default value - `0.0`
         * @property [maximumGreen] The minimum green value to generate if none was specified.
         *   Default value - `1.0`
         * @property [blue] If specified, the blue component to use instead of a randomized value.
         * @property [minimumBlue] The maximum blue value to generate if none was specified.
         *   Default value - `0.0`
         * @property [maximumBlue] The minimum blue value to generate if none was specified.
         *   Default value - `1.0`
         * @property [alpha] If specified, the alpha component to use instead of a randomized value.
         * @property [minimumAlpha] The maximum alpha value to generate if none was specified.
         *   Default value - `0.0`
         * @property [maximumAlpha] The minimum alpha value to generate if none was specified.
         *   Default value - `1.0`
         */
        interface FromRandomOptions {
            var red: Double?
            var minimumRed: Double?
            var maximumRed: Double?
            var green: Double?
            var minimumGreen: Double?
            var maximumGreen: Double?
            var blue: Double?
            var minimumBlue: Double?
            var maximumBlue: Double?
            var alpha: Double?
            var minimumAlpha: Double?
            var maximumAlpha: Double?
        }

        /**
         * Creates a Color instance from a CSS color value.
         * ```
         * const cesiumBlue = Color.fromCssColorString('#67ADDF');
         * const green = Color.fromCssColorString('green');
         * ```
         * @param [color] The CSS color value in #rgb, #rgba, #rrggbb, #rrggbbaa, rgb(), rgba(), hsl(), or hsla() format.
         * @param [result] The object to store the result in, if undefined a new instance will be created.
         * @return The color object, or undefined if the string was not a valid CSS color.
         * @see Online Documentation
         */
        fun fromCssColorString(
            color: String,
            result: Color? = definedExternally,
        ): Color

        /**
         * The number of elements used to pack the object into an array.
         * @see Online Documentation
         */
        override val packedLength: Int

        /**
         * Stores the provided instance into the provided array.
         * @param [value] The value to pack.
         * @param [array] The array to pack into.
         * @param [startingIndex] The index into the array at which to start packing the elements.
         *   Default value - `0`
         * @return The array that was packed into
         * @see Online Documentation
         */
        override fun pack(
            value: Color,
            array: Array,
            startingIndex: Int?,
        ): Array

        /**
         * Retrieves an instance from a packed array.
         * @param [array] The packed array.
         * @param [startingIndex] The starting index of the element to be unpacked.
         *   Default value - `0`
         * @param [result] The object into which to store the result.
         * @return The modified result parameter or a new Color instance if one was not provided.
         * @see Online Documentation
         */
        override fun unpack(
            array: Array,
            startingIndex: Int?,
            result: Color?,
        ): Color

        /**
         * Converts a 'byte' color component in the range of 0 to 255 into
         * a 'float' color component in the range of 0 to 1.0.
         * @param [number] The number to be converted.
         * @return The converted number.
         * @see Online Documentation
         */
        fun byteToFloat(number: Double): Double

        /**
         * Converts a 'float' color component in the range of 0 to 1.0 into
         * a 'byte' color component in the range of 0 to 255.
         * @param [number] The number to be converted.
         * @return The converted number.
         * @see Online Documentation
         */
        fun floatToByte(number: Double): Double

        /**
         * Duplicates a Color.
         * @param [color] The Color to duplicate.
         * @param [result] The object to store the result in, if undefined a new instance will be created.
         * @return The modified result parameter or a new instance if result was undefined. (Returns undefined if color is undefined)
         * @see Online Documentation
         */
        fun clone(
            color: Color,
            result: Color? = definedExternally,
        ): Color

        /**
         * Returns true if the first Color equals the second color.
         * @param [left] The first Color to compare for equality.
         * @param [right] The second Color to compare for equality.
         * @return `true` if the Colors are equal; otherwise, `false`.
         * @see Online Documentation
         */
        fun equals(
            left: Color,
            right: Color,
        ): Boolean

        /**
         * Computes the componentwise sum of two Colors.
         * @param [left] The first Color.
         * @param [right] The second Color.
         * @param [result] The object onto which to store the result.
         * @return The modified result parameter.
         * @see Online Documentation
         */
        fun add(
            left: Color,
            right: Color,
            result: Color,
        ): Color

        /**
         * Computes the componentwise difference of two Colors.
         * @param [left] The first Color.
         * @param [right] The second Color.
         * @param [result] The object onto which to store the result.
         * @return The modified result parameter.
         * @see Online Documentation
         */
        fun subtract(
            left: Color,
            right: Color,
            result: Color,
        ): Color

        /**
         * Computes the componentwise product of two Colors.
         * @param [left] The first Color.
         * @param [right] The second Color.
         * @param [result] The object onto which to store the result.
         * @return The modified result parameter.
         * @see Online Documentation
         */
        fun multiply(
            left: Color,
            right: Color,
            result: Color,
        ): Color

        /**
         * Computes the componentwise quotient of two Colors.
         * @param [left] The first Color.
         * @param [right] The second Color.
         * @param [result] The object onto which to store the result.
         * @return The modified result parameter.
         * @see Online Documentation
         */
        fun divide(
            left: Color,
            right: Color,
            result: Color,
        ): Color

        /**
         * Computes the componentwise modulus of two Colors.
         * @param [left] The first Color.
         * @param [right] The second Color.
         * @param [result] The object onto which to store the result.
         * @return The modified result parameter.
         * @see Online Documentation
         */
        fun mod(
            left: Color,
            right: Color,
            result: Color,
        ): Color

        /**
         * Computes the linear interpolation or extrapolation at t between the provided colors.
         * @param [start] The color corresponding to t at 0.0.
         * @param [end] The color corresponding to t at 1.0.
         * @param [t] The point along t at which to interpolate.
         * @param [result] The object onto which to store the result.
         * @return The modified result parameter.
         * @see Online Documentation
         */
        fun lerp(
            start: Color,
            end: Color,
            t: Double,
            result: Color,
        ): Color

        /**
         * Multiplies the provided Color componentwise by the provided scalar.
         * @param [color] The Color to be scaled.
         * @param [scalar] The scalar to multiply with.
         * @param [result] The object onto which to store the result.
         * @return The modified result parameter.
         * @see Online Documentation
         */
        fun multiplyByScalar(
            color: Color,
            scalar: Double,
            result: Color,
        ): Color

        /**
         * Divides the provided Color componentwise by the provided scalar.
         * @param [color] The Color to be divided.
         * @param [scalar] The scalar to divide with.
         * @param [result] The object onto which to store the result.
         * @return The modified result parameter.
         * @see Online Documentation
         */
        fun divideByScalar(
            color: Color,
            scalar: Double,
            result: Color,
        ): Color

        /**
         * An immutable Color instance initialized to CSS color #F0F8FF
         * @see Online Documentation
         */
        val ALICEBLUE: Color

        /**
         * An immutable Color instance initialized to CSS color #FAEBD7
         * @see Online Documentation
         */
        val ANTIQUEWHITE: Color

        /**
         * An immutable Color instance initialized to CSS color #00FFFF
         * @see Online Documentation
         */
        val AQUA: Color

        /**
         * An immutable Color instance initialized to CSS color #7FFFD4
         * @see Online Documentation
         */
        val AQUAMARINE: Color

        /**
         * An immutable Color instance initialized to CSS color #F0FFFF
         * @see Online Documentation
         */
        val AZURE: Color

        /**
         * An immutable Color instance initialized to CSS color #F5F5DC
         * @see Online Documentation
         */
        val BEIGE: Color

        /**
         * An immutable Color instance initialized to CSS color #FFE4C4
         * @see Online Documentation
         */
        val BISQUE: Color

        /**
         * An immutable Color instance initialized to CSS color #000000
         * @see Online Documentation
         */
        val BLACK: Color

        /**
         * An immutable Color instance initialized to CSS color #FFEBCD
         * @see Online Documentation
         */
        val BLANCHEDALMOND: Color

        /**
         * An immutable Color instance initialized to CSS color #0000FF
         * @see Online Documentation
         */
        val BLUE: Color

        /**
         * An immutable Color instance initialized to CSS color #8A2BE2
         * @see Online Documentation
         */
        val BLUEVIOLET: Color

        /**
         * An immutable Color instance initialized to CSS color #A52A2A
         * @see Online Documentation
         */
        val BROWN: Color

        /**
         * An immutable Color instance initialized to CSS color #DEB887
         * @see Online Documentation
         */
        val BURLYWOOD: Color

        /**
         * An immutable Color instance initialized to CSS color #5F9EA0
         * @see Online Documentation
         */
        val CADETBLUE: Color

        /**
         * An immutable Color instance initialized to CSS color #7FFF00
         * @see Online Documentation
         */
        val CHARTREUSE: Color

        /**
         * An immutable Color instance initialized to CSS color #D2691E
         * @see Online Documentation
         */
        val CHOCOLATE: Color

        /**
         * An immutable Color instance initialized to CSS color #FF7F50
         * @see Online Documentation
         */
        val CORAL: Color

        /**
         * An immutable Color instance initialized to CSS color #6495ED
         * @see Online Documentation
         */
        val CORNFLOWERBLUE: Color

        /**
         * An immutable Color instance initialized to CSS color #FFF8DC
         * @see Online Documentation
         */
        val CORNSILK: Color

        /**
         * An immutable Color instance initialized to CSS color #DC143C
         * @see Online Documentation
         */
        val CRIMSON: Color

        /**
         * An immutable Color instance initialized to CSS color #00FFFF
         * @see Online Documentation
         */
        val CYAN: Color

        /**
         * An immutable Color instance initialized to CSS color #00008B
         * @see Online Documentation
         */
        val DARKBLUE: Color

        /**
         * An immutable Color instance initialized to CSS color #008B8B
         * @see Online Documentation
         */
        val DARKCYAN: Color

        /**
         * An immutable Color instance initialized to CSS color #B8860B
         * @see Online Documentation
         */
        val DARKGOLDENROD: Color

        /**
         * An immutable Color instance initialized to CSS color #A9A9A9
         * @see Online Documentation
         */
        val DARKGRAY: Color

        /**
         * An immutable Color instance initialized to CSS color #006400
         * @see Online Documentation
         */
        val DARKGREEN: Color

        /**
         * An immutable Color instance initialized to CSS color #A9A9A9
         * @see Online Documentation
         */
        val DARKGREY: Color

        /**
         * An immutable Color instance initialized to CSS color #BDB76B
         * @see Online Documentation
         */
        val DARKKHAKI: Color

        /**
         * An immutable Color instance initialized to CSS color #8B008B
         * @see Online Documentation
         */
        val DARKMAGENTA: Color

        /**
         * An immutable Color instance initialized to CSS color #556B2F
         * @see Online Documentation
         */
        val DARKOLIVEGREEN: Color

        /**
         * An immutable Color instance initialized to CSS color #FF8C00
         * @see Online Documentation
         */
        val DARKORANGE: Color

        /**
         * An immutable Color instance initialized to CSS color #9932CC
         * @see Online Documentation
         */
        val DARKORCHID: Color

        /**
         * An immutable Color instance initialized to CSS color #8B0000
         * @see Online Documentation
         */
        val DARKRED: Color

        /**
         * An immutable Color instance initialized to CSS color #E9967A
         * @see Online Documentation
         */
        val DARKSALMON: Color

        /**
         * An immutable Color instance initialized to CSS color #8FBC8F
         * @see Online Documentation
         */
        val DARKSEAGREEN: Color

        /**
         * An immutable Color instance initialized to CSS color #483D8B
         * @see Online Documentation
         */
        val DARKSLATEBLUE: Color

        /**
         * An immutable Color instance initialized to CSS color #2F4F4F
         * @see Online Documentation
         */
        val DARKSLATEGRAY: Color

        /**
         * An immutable Color instance initialized to CSS color #2F4F4F
         * @see Online Documentation
         */
        val DARKSLATEGREY: Color

        /**
         * An immutable Color instance initialized to CSS color #00CED1
         * @see Online Documentation
         */
        val DARKTURQUOISE: Color

        /**
         * An immutable Color instance initialized to CSS color #9400D3
         * @see Online Documentation
         */
        val DARKVIOLET: Color

        /**
         * An immutable Color instance initialized to CSS color #FF1493
         * @see Online Documentation
         */
        val DEEPPINK: Color

        /**
         * An immutable Color instance initialized to CSS color #00BFFF
         * @see Online Documentation
         */
        val DEEPSKYBLUE: Color

        /**
         * An immutable Color instance initialized to CSS color #696969
         * @see Online Documentation
         */
        val DIMGRAY: Color

        /**
         * An immutable Color instance initialized to CSS color #696969
         * @see Online Documentation
         */
        val DIMGREY: Color

        /**
         * An immutable Color instance initialized to CSS color #1E90FF
         * @see Online Documentation
         */
        val DODGERBLUE: Color

        /**
         * An immutable Color instance initialized to CSS color #B22222
         * @see Online Documentation
         */
        val FIREBRICK: Color

        /**
         * An immutable Color instance initialized to CSS color #FFFAF0
         * @see Online Documentation
         */
        val FLORALWHITE: Color

        /**
         * An immutable Color instance initialized to CSS color #228B22
         * @see Online Documentation
         */
        val FORESTGREEN: Color

        /**
         * An immutable Color instance initialized to CSS color #FF00FF
         * @see Online Documentation
         */
        val FUCHSIA: Color

        /**
         * An immutable Color instance initialized to CSS color #DCDCDC
         * @see Online Documentation
         */
        val GAINSBORO: Color

        /**
         * An immutable Color instance initialized to CSS color #F8F8FF
         * @see Online Documentation
         */
        val GHOSTWHITE: Color

        /**
         * An immutable Color instance initialized to CSS color #FFD700
         * @see Online Documentation
         */
        val GOLD: Color

        /**
         * An immutable Color instance initialized to CSS color #DAA520
         * @see Online Documentation
         */
        val GOLDENROD: Color

        /**
         * An immutable Color instance initialized to CSS color #808080
         * @see Online Documentation
         */
        val GRAY: Color

        /**
         * An immutable Color instance initialized to CSS color #008000
         * @see Online Documentation
         */
        val GREEN: Color

        /**
         * An immutable Color instance initialized to CSS color #ADFF2F
         * @see Online Documentation
         */
        val GREENYELLOW: Color

        /**
         * An immutable Color instance initialized to CSS color #808080
         * @see Online Documentation
         */
        val GREY: Color

        /**
         * An immutable Color instance initialized to CSS color #F0FFF0
         * @see Online Documentation
         */
        val HONEYDEW: Color

        /**
         * An immutable Color instance initialized to CSS color #FF69B4
         * @see Online Documentation
         */
        val HOTPINK: Color

        /**
         * An immutable Color instance initialized to CSS color #CD5C5C
         * @see Online Documentation
         */
        val INDIANRED: Color

        /**
         * An immutable Color instance initialized to CSS color #4B0082
         * @see Online Documentation
         */
        val INDIGO: Color

        /**
         * An immutable Color instance initialized to CSS color #FFFFF0
         * @see Online Documentation
         */
        val IVORY: Color

        /**
         * An immutable Color instance initialized to CSS color #F0E68C
         * @see Online Documentation
         */
        val KHAKI: Color

        /**
         * An immutable Color instance initialized to CSS color #E6E6FA
         * @see Online Documentation
         */
        val LAVENDER: Color

        /**
         * An immutable Color instance initialized to CSS color #FFF0F5
         * @see Online Documentation
         */
        val LAVENDAR_BLUSH: Color

        /**
         * An immutable Color instance initialized to CSS color #7CFC00
         * @see Online Documentation
         */
        val LAWNGREEN: Color

        /**
         * An immutable Color instance initialized to CSS color #FFFACD
         * @see Online Documentation
         */
        val LEMONCHIFFON: Color

        /**
         * An immutable Color instance initialized to CSS color #ADD8E6
         * @see Online Documentation
         */
        val LIGHTBLUE: Color

        /**
         * An immutable Color instance initialized to CSS color #F08080
         * @see Online Documentation
         */
        val LIGHTCORAL: Color

        /**
         * An immutable Color instance initialized to CSS color #E0FFFF
         * @see Online Documentation
         */
        val LIGHTCYAN: Color

        /**
         * An immutable Color instance initialized to CSS color #FAFAD2
         * @see Online Documentation
         */
        val LIGHTGOLDENRODYELLOW: Color

        /**
         * An immutable Color instance initialized to CSS color #D3D3D3
         * @see Online Documentation
         */
        val LIGHTGRAY: Color

        /**
         * An immutable Color instance initialized to CSS color #90EE90
         * @see Online Documentation
         */
        val LIGHTGREEN: Color

        /**
         * An immutable Color instance initialized to CSS color #D3D3D3
         * @see Online Documentation
         */
        val LIGHTGREY: Color

        /**
         * An immutable Color instance initialized to CSS color #FFB6C1
         * @see Online Documentation
         */
        val LIGHTPINK: Color

        /**
         * An immutable Color instance initialized to CSS color #20B2AA
         * @see Online Documentation
         */
        val LIGHTSEAGREEN: Color

        /**
         * An immutable Color instance initialized to CSS color #87CEFA
         * @see Online Documentation
         */
        val LIGHTSKYBLUE: Color

        /**
         * An immutable Color instance initialized to CSS color #778899
         * @see Online Documentation
         */
        val LIGHTSLATEGRAY: Color

        /**
         * An immutable Color instance initialized to CSS color #778899
         * @see Online Documentation
         */
        val LIGHTSLATEGREY: Color

        /**
         * An immutable Color instance initialized to CSS color #B0C4DE
         * @see Online Documentation
         */
        val LIGHTSTEELBLUE: Color

        /**
         * An immutable Color instance initialized to CSS color #FFFFE0
         * @see Online Documentation
         */
        val LIGHTYELLOW: Color

        /**
         * An immutable Color instance initialized to CSS color #00FF00
         * @see Online Documentation
         */
        val LIME: Color

        /**
         * An immutable Color instance initialized to CSS color #32CD32
         * @see Online Documentation
         */
        val LIMEGREEN: Color

        /**
         * An immutable Color instance initialized to CSS color #FAF0E6
         * @see Online Documentation
         */
        val LINEN: Color

        /**
         * An immutable Color instance initialized to CSS color #FF00FF
         * @see Online Documentation
         */
        val MAGENTA: Color

        /**
         * An immutable Color instance initialized to CSS color #800000
         * @see Online Documentation
         */
        val MAROON: Color

        /**
         * An immutable Color instance initialized to CSS color #66CDAA
         * @see Online Documentation
         */
        val MEDIUMAQUAMARINE: Color

        /**
         * An immutable Color instance initialized to CSS color #0000CD
         * @see Online Documentation
         */
        val MEDIUMBLUE: Color

        /**
         * An immutable Color instance initialized to CSS color #BA55D3
         * @see Online Documentation
         */
        val MEDIUMORCHID: Color

        /**
         * An immutable Color instance initialized to CSS color #9370DB
         * @see Online Documentation
         */
        val MEDIUMPURPLE: Color

        /**
         * An immutable Color instance initialized to CSS color #3CB371
         * @see Online Documentation
         */
        val MEDIUMSEAGREEN: Color

        /**
         * An immutable Color instance initialized to CSS color #7B68EE
         * @see Online Documentation
         */
        val MEDIUMSLATEBLUE: Color

        /**
         * An immutable Color instance initialized to CSS color #00FA9A
         * @see Online Documentation
         */
        val MEDIUMSPRINGGREEN: Color

        /**
         * An immutable Color instance initialized to CSS color #48D1CC
         * @see Online Documentation
         */
        val MEDIUMTURQUOISE: Color

        /**
         * An immutable Color instance initialized to CSS color #C71585
         * @see Online Documentation
         */
        val MEDIUMVIOLETRED: Color

        /**
         * An immutable Color instance initialized to CSS color #191970
         * @see Online Documentation
         */
        val MIDNIGHTBLUE: Color

        /**
         * An immutable Color instance initialized to CSS color #F5FFFA
         * @see Online Documentation
         */
        val MINTCREAM: Color

        /**
         * An immutable Color instance initialized to CSS color #FFE4E1
         * @see Online Documentation
         */
        val MISTYROSE: Color

        /**
         * An immutable Color instance initialized to CSS color #FFE4B5
         * @see Online Documentation
         */
        val MOCCASIN: Color

        /**
         * An immutable Color instance initialized to CSS color #FFDEAD
         * @see Online Documentation
         */
        val NAVAJOWHITE: Color

        /**
         * An immutable Color instance initialized to CSS color #000080
         * @see Online Documentation
         */
        val NAVY: Color

        /**
         * An immutable Color instance initialized to CSS color #FDF5E6
         * @see Online Documentation
         */
        val OLDLACE: Color

        /**
         * An immutable Color instance initialized to CSS color #808000
         * @see Online Documentation
         */
        val OLIVE: Color

        /**
         * An immutable Color instance initialized to CSS color #6B8E23
         * @see Online Documentation
         */
        val OLIVEDRAB: Color

        /**
         * An immutable Color instance initialized to CSS color #FFA500
         * @see Online Documentation
         */
        val ORANGE: Color

        /**
         * An immutable Color instance initialized to CSS color #FF4500
         * @see Online Documentation
         */
        val ORANGERED: Color

        /**
         * An immutable Color instance initialized to CSS color #DA70D6
         * @see Online Documentation
         */
        val ORCHID: Color

        /**
         * An immutable Color instance initialized to CSS color #EEE8AA
         * @see Online Documentation
         */
        val PALEGOLDENROD: Color

        /**
         * An immutable Color instance initialized to CSS color #98FB98
         * @see Online Documentation
         */
        val PALEGREEN: Color

        /**
         * An immutable Color instance initialized to CSS color #AFEEEE
         * @see Online Documentation
         */
        val PALETURQUOISE: Color

        /**
         * An immutable Color instance initialized to CSS color #DB7093
         * @see Online Documentation
         */
        val PALEVIOLETRED: Color

        /**
         * An immutable Color instance initialized to CSS color #FFEFD5
         * @see Online Documentation
         */
        val PAPAYAWHIP: Color

        /**
         * An immutable Color instance initialized to CSS color #FFDAB9
         * @see Online Documentation
         */
        val PEACHPUFF: Color

        /**
         * An immutable Color instance initialized to CSS color #CD853F
         * @see Online Documentation
         */
        val PERU: Color

        /**
         * An immutable Color instance initialized to CSS color #FFC0CB
         * @see Online Documentation
         */
        val PINK: Color

        /**
         * An immutable Color instance initialized to CSS color #DDA0DD
         * @see Online Documentation
         */
        val PLUM: Color

        /**
         * An immutable Color instance initialized to CSS color #B0E0E6
         * @see Online Documentation
         */
        val POWDERBLUE: Color

        /**
         * An immutable Color instance initialized to CSS color #800080
         * @see Online Documentation
         */
        val PURPLE: Color

        /**
         * An immutable Color instance initialized to CSS color #FF0000
         * @see Online Documentation
         */
        val RED: Color

        /**
         * An immutable Color instance initialized to CSS color #BC8F8F
         * @see Online Documentation
         */
        val ROSYBROWN: Color

        /**
         * An immutable Color instance initialized to CSS color #4169E1
         * @see Online Documentation
         */
        val ROYALBLUE: Color

        /**
         * An immutable Color instance initialized to CSS color #8B4513
         * @see Online Documentation
         */
        val SADDLEBROWN: Color

        /**
         * An immutable Color instance initialized to CSS color #FA8072
         * @see Online Documentation
         */
        val SALMON: Color

        /**
         * An immutable Color instance initialized to CSS color #F4A460
         * @see Online Documentation
         */
        val SANDYBROWN: Color

        /**
         * An immutable Color instance initialized to CSS color #2E8B57
         * @see Online Documentation
         */
        val SEAGREEN: Color

        /**
         * An immutable Color instance initialized to CSS color #FFF5EE
         * @see Online Documentation
         */
        val SEASHELL: Color

        /**
         * An immutable Color instance initialized to CSS color #A0522D
         * @see Online Documentation
         */
        val SIENNA: Color

        /**
         * An immutable Color instance initialized to CSS color #C0C0C0
         * @see Online Documentation
         */
        val SILVER: Color

        /**
         * An immutable Color instance initialized to CSS color #87CEEB
         * @see Online Documentation
         */
        val SKYBLUE: Color

        /**
         * An immutable Color instance initialized to CSS color #6A5ACD
         * @see Online Documentation
         */
        val SLATEBLUE: Color

        /**
         * An immutable Color instance initialized to CSS color #708090
         * @see Online Documentation
         */
        val SLATEGRAY: Color

        /**
         * An immutable Color instance initialized to CSS color #708090
         * @see Online Documentation
         */
        val SLATEGREY: Color

        /**
         * An immutable Color instance initialized to CSS color #FFFAFA
         * @see Online Documentation
         */
        val SNOW: Color

        /**
         * An immutable Color instance initialized to CSS color #00FF7F
         * @see Online Documentation
         */
        val SPRINGGREEN: Color

        /**
         * An immutable Color instance initialized to CSS color #4682B4
         * @see Online Documentation
         */
        val STEELBLUE: Color

        /**
         * An immutable Color instance initialized to CSS color #D2B48C
         * @see Online Documentation
         */
        val TAN: Color

        /**
         * An immutable Color instance initialized to CSS color #008080
         * @see Online Documentation
         */
        val TEAL: Color

        /**
         * An immutable Color instance initialized to CSS color #D8BFD8
         * @see Online Documentation
         */
        val THISTLE: Color

        /**
         * An immutable Color instance initialized to CSS color #FF6347
         * @see Online Documentation
         */
        val TOMATO: Color

        /**
         * An immutable Color instance initialized to CSS color #40E0D0
         * @see Online Documentation
         */
        val TURQUOISE: Color

        /**
         * An immutable Color instance initialized to CSS color #EE82EE
         * @see Online Documentation
         */
        val VIOLET: Color

        /**
         * An immutable Color instance initialized to CSS color #F5DEB3
         * @see Online Documentation
         */
        val WHEAT: Color

        /**
         * An immutable Color instance initialized to CSS color #FFFFFF
         * @see Online Documentation
         */
        val WHITE: Color

        /**
         * An immutable Color instance initialized to CSS color #F5F5F5
         * @see Online Documentation
         */
        val WHITESMOKE: Color

        /**
         * An immutable Color instance initialized to CSS color #FFFF00
         * @see Online Documentation
         */
        val YELLOW: Color

        /**
         * An immutable Color instance initialized to CSS color #9ACD32
         * @see Online Documentation
         */
        val YELLOWGREEN: Color

        /**
         * An immutable Color instance initialized to CSS transparent.
         * @see Online Documentation
         */
        val TRANSPARENT: Color
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy