code: def rgba_tuple(rgba):
      """
      Ensures RGB(A) tuples in the range 0-1 are scaled to 0-255.
      """
      if isinstance(rgba, tuple):
          return tuple(
              int(c * 255) if i < 3 else c for i, c in enumerate(rgba)
          )
      else:
          return COLOR_ALIASES.get(rgba, rgba)
  
file_path: holoviews/holoviews/plotting/bokeh/styles.py
imports: import numpy
  from bokeh.core.properties import Angle, Color, DashPattern, FontSize, MarkerType, Percent, Size
  from ...core.options import abbreviated_exception
  from ...core.util import arraylike_types
  from ...util.transform import dim
  from ..util import COLOR_ALIASES, RGB_HEX_REGEX, rgb2hex
label_desc: Use image node_id 4 for calling a global function with example usage: rgba_tuple(rgba) and returns: tuple, COLOR_ALIASES