Feature Rich
Rapid Application Development
Helping you or your customers
Manage their Business

All Commands All Format
Commands

OBJ_COLOR

Return an objects colour as hex string preceded by a #
Number Name Default Type Description
1 obj_id COID Integer Object ID
2 default #ffffff String The default value to return if no colour has been set.
3 mode HEX String The type of value to return.
HEX The hex value of the number
DEC The decimal Value of the number
R The red portion as a decimal value
G The green portion as a decimal value
B The blue portion as a decimal value
RGB The red,green & blue values as r,g,b
LAB The HEX label colour (Black or White)
given a brightness threshold of 123
0-255 The HEX label colour (Black or White)
given the specified brightness threshold

Make sure the default is in the same format as the expected output.

to add a Comment.