class_docstr: Represents a color in terms of float values for RGBA between 0.0 and 1.0.
class_docstr_tok: ["Represents","a","color","in","terms","of","float","values","for","RGBA","between","0.0","and","1.0","."]
code: def hexstr(self):
      r, g, b, a = [int(x * 255) for x in iter(self)]
      return f"#{r:02x}{g:02x}{b:02x}{a:02x}"
  
file_path: kubric/kubric/core/color.py
imports: import colorsys
  from typing import NamedTuple, Tuple, Union
label_desc: Use image node_id 3 for calling the Color obj's underlying member method code with example usage: obj.hexstr() and returns: str, r, g, b, a