#(gravitation_) random color

13 messages · Page 1 of 1 (latest)

shrewd moon
#

any util tag such as <util.random_color to random <color> (hex color)?

short inletBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

#

(gravitation_) random color

lean laurel
#

!object Color

modest pulsarBOT
# lean laurel !object Color

A ColorTag represents an RGBA color code.

Note that a ColorTag is NOT a base dye color (used by wool, etc). That is handled by a separate naming system.

Constructing a ColorTag also accepts 'random' to pick a random RGB color,
or 'transparent' to return 0,0,0,0
or RGB hex code like '#FF00FF',
or RGBA hex codes like '#FF00FF80',
or valid minecraft chat color codes (hex or historical codes).

A list of accepted color names can be found at !tag util.color_names.

Red/green/blue/alpha values are each from 0 to 255.

Prefix

co

Base Type

ElementTag

Format

The identity format for colors is <red>,<green>,<blue> or <red>,<green>,<blue>,<alpha> or the name of a color.
When using the numeric form, the number must be between 0 and 255, where 0 is least bright and 255 is most bright.
For example, 'co@50,64,128' or 'co@255,0,0,128' or 'co@red'.

lean laurel
#

Constructing a ColorTag also accepts 'random' to pick a random RGB color,

shrewd moon
lean laurel
shrewd moon
#

oh ok tysm!