randomize()
    {
        this.red = Math.floor(Math.random() * (this.max + 1));
        this.green = Math.floor(Math.random() * (this.max + 1));
        this.blue = Math.floor(Math.random() * (this.max + 1));

        return this;
    }
/**
     * Randomizes the color components to create a random color.
     *
     * @return {Color} returns itself.
     */
Randomizes the color components to create a random color.
@return {Color} returns itself.
Randomizes the color components to create a random color . @return { Color } returns itself .
randomize()
    {
        this.red = Math.floor(Math.random() * (this.max + 1));
        this.green = Math.floor(Math.random() * (this.max + 1));
        this.blue = Math.floor(Math.random() * (this.max + 1));
        return this;
    }
randomize ( ) { this . red = Math . floor ( Math . random ( ) * ( this . max + 1 ) ) ; this . green = Math . floor ( Math . random ( ) * ( this . max + 1 ) ) ; this . blue = Math . floor ( Math . random ( ) * ( this . max + 1 ) ) ; return this ; }
Randomizes the color components to create a random color.
Randomizes the color components to create a random color .