function getColorParams(context, rootObject) {
  return {
    colorLibraryId: context.command.valueForKey_onLayer("colorLib", rootObject),
    colorSymbolId: context.command.valueForKey_onLayer("color", rootObject),
    colorString: context.command.valueForKey_onLayer("colorPicker", rootObject)
  }
}
@name getColorParams
@param context
@param rootObject
@returns {{colorLibraryId: *, colorSymbolId: *, colorString: *}}