ColorVector:operator*(col2)

Version added: before 9.5

Multiplies one color by another and returns the result as a new color

ArgumentTypeDescriptionDefaultVer
col2ColorVectorA color to multiply by the first one< 9.5

Return type (ColorVector): the result of mutliplying two colors

Multiplies one color by another and returns the result as a new color. This operator makes it possible to multiply colors as if they were regular numbers. Example: c = a * b.