doc.arcgis.com/en/cityengine/2025.0/cga/cga-color.htm

Preview meta tags from the doc.arcgis.com website.

Linked Hostnames

1
  • General Meta Tags

    17
    • title
      color operation—ArcGIS CityEngine Resources | Documentation
    • charset
      utf-8
    • X-UA-Compatible
      IE=edge,chrome=1
    • viewport
      width=device-width, user-scalable=no
    • description
      color operation Syntax color(hexValue)color(red, green, blue)color(red, green, blue, opacity) Parameters hexValue—stringColor to set, in the format "#rrggbb" or "#rrggbboo" (hex).red—float (range[0.0, 1.0]) Color to set in red components.green—float (range[0.0, 1.0])Color to set in green components.blue—float (range[0.0, 1.0])Color to set in blue components.opacity—float (range[0.0, 1.0])Color to set in opacity components. Description The color operation sets the color of the current shape's material. Input parameter values for red, green, blue, or opacity that are outside the range [0,1] are clamped to [0,1]. In CGA, colors are always in (non-linear) sRGB. This command has the same effect as set(material.color.{ r | g | b }, val), it is a
  • Link Tags

    8
    • shortcut icon
      /assets/img/favicon.ico
    • stylesheet
      /assets/css/screen.css
    • stylesheet
      /cdn/calcite/css/documentation.css
    • stylesheet
      /assets/css/print.css
    • stylesheet
      /cdn/css/colorbox.css

Links

6