interaction_skills/msg/LedColor

 1# Extension to the standard message for colors,
 2# to support alternative color encodings.
 3# If the 'name' field is not empty, that's the one considered,
 4# otherwise the 'rgba' field is applied.
 5
 6# The HTML color encoding.
 7# It can be either:
 8# - one of the 140 colors names in natural language supported by HTML 4.01
 9#   (see https://en.wikipedia.org/wiki/Web_colors#Extended_colors),
10#   e.g., "Green", "plum", "IndianRed", OR;
11# - the string for the hex triplet color code
12#   (https://en.wikipedia.org/wiki/Web_colors#Hex_triplet),
13#   i.e., a hash followed by 6 hexadecimals,
14#   e.g., "#008000", "#DDA0DD", "#CD5C5C".
15string name
16
17# The color alpha channel ([0., 1.]).
18# This is used only if the `name` field is not empty.
19# The LED brightness is proportional to this value.
20float32 alpha 1.0
21
22# The ROS 2 standard color encoding.
23# The 'r', 'g', 'b' fields are the LEDs RGB channels ([0., 1.]),
24# while 'a' is equivalent to the `alpha` channel
25# (meaning it controls the intensity of the LEDs).
26std_msgs/ColorRGBA rgba