Einhugur macOS Bridge plugin. |

# NSColorList.Operator_Subscript Method

Sets NSColor by a key.

Operator_Subscript(
key as String,
assigns value as EinhugurMacOSBridge.NSColor)

#### Parameters

key
  The key for the color in the list.
value (assign parameter)
  The NSColor value to be added.

#### Remarks

If color by the given key already exists then the color is replaced. If the key does not exist then key is appended to back of the list.

#### See Also

NSColorList Class