Google Apps Script
  • Google Apps Script
Home Guides Reference Samples Support Add-ons Apps Script API
Google Apps Script
  • Google Apps Script
  • Home
  • Guides
  • Reference
  • Samples
  • Support
  • Add-ons
  • Apps Script API
  • Overview
  • Manifests
  • Manifest structure
  • Dependencies resource
  • Gmail resource
  • Sheets resource
  • G Suite Services
    • Calendar
      • Overview
      • CalendarApp
      • Classes
      • Calendar
      • CalendarEvent
      • CalendarEventSeries
      • EventGuest
      • EventRecurrence
      • RecurrenceRule
      • Enums
      • Color
      • EventColor
      • GuestStatus
      • Visibility
    • Contacts
      • Overview
      • ContactsApp
      • Classes
      • AddressField
      • CompanyField
      • Contact
      • ContactGroup
      • CustomField
      • DateField
      • EmailField
      • IMField
      • PhoneField
      • UrlField
      • Enums
      • ExtendedField
      • Field
      • Gender
      • Priority
      • Sensitivity
    • Data Studio
      • Overview
      • DataStudioApp
      • Classes
      • BigQueryConfig
      • Checkbox
      • CommunityConnector
      • Config
      • DebugError
      • Field
      • Fields
      • GetAuthTypeResponse
      • GetDataResponse
      • GetSchemaResponse
      • Info
      • OptionBuilder
      • SelectMultiple
      • SelectSingle
      • SetCredentialsResponse
      • TextArea
      • TextInput
      • UserError
      • Enums
      • AggregationType
      • AuthType
      • BigQueryParameterType
      • FieldType
    • Document
      • Overview
      • DocumentApp
      • Classes
      • Body
      • Bookmark
      • ContainerElement
      • Document
      • Equation
      • EquationFunction
      • EquationFunctionArgumentSeparator
      • EquationSymbol
      • FooterSection
      • Footnote
      • FootnoteSection
      • HeaderSection
      • HorizontalRule
      • InlineDrawing
      • InlineImage
      • ListItem
      • NamedRange
      • PageBreak
      • Paragraph
      • Position
      • PositionedImage
      • Range
      • RangeBuilder
      • RangeElement
      • Table
      • TableCell
      • TableOfContents
      • TableRow
      • Text
      • UnsupportedElement
      • Interfaces
      • Element
      • Enums
      • Attribute
      • ElementType
      • FontFamily
      • GlyphType
      • HorizontalAlignment
      • ParagraphHeading
      • PositionedLayout
      • TextAlignment
      • VerticalAlignment
    • Domain
      • Migrate from Domain Service
    • Drive
      • Overview
      • DriveApp
      • Classes
      • File
      • FileIterator
      • Folder
      • FolderIterator
      • User
      • Enums
      • Access
      • Permission
    • Forms
      • Overview
      • FormApp
      • Classes
      • CheckboxGridItem
      • CheckboxGridValidation
      • CheckboxGridValidationBuilder
      • CheckboxItem
      • CheckboxValidation
      • CheckboxValidationBuilder
      • Choice
      • DateItem
      • DateTimeItem
      • DurationItem
      • Form
      • FormResponse
      • GridItem
      • GridValidation
      • GridValidationBuilder
      • ImageItem
      • ItemResponse
      • ListItem
      • MultipleChoiceItem
      • PageBreakItem
      • ParagraphTextItem
      • ParagraphTextValidation
      • ParagraphTextValidationBuilder
      • QuizFeedback
      • QuizFeedbackBuilder
      • ScaleItem
      • SectionHeaderItem
      • TextItem
      • TextValidation
      • TextValidationBuilder
      • TimeItem
      • VideoItem
      • Interfaces
      • Item
      • Enums
      • Alignment
      • DestinationType
      • FeedbackType
      • ItemType
      • PageNavigationType
    • Gmail
      • Overview
      • GmailApp
      • Classes
      • GmailAttachment
      • GmailDraft
      • GmailLabel
      • GmailMessage
      • GmailThread
    • Groups
      • Overview
      • GroupsApp
      • Classes
      • Group
      • Enums
      • Role
    • Language
      • Overview
      • LanguageApp
    • Maps
      • Overview
      • Maps
      • Classes
      • DirectionFinder
      • DirectionFinderEnums
      • ElevationSampler
      • Geocoder
      • StaticMap
      • StaticMapEnums
      • Enums
      • Avoid
      • Color
      • Format
      • MarkerSize
      • Mode
      • Type
    • Sites
      • Overview
      • SitesApp
      • Classes
      • Attachment
      • Column
      • Comment
      • ListItem
      • Page
      • Site
      • Enums
      • AttachmentType
      • PageType
    • Slides
      • Overview
      • SlidesApp
      • Classes
      • AffineTransform
      • AffineTransformBuilder
      • AutoText
      • Border
      • Color
      • ColorScheme
      • ConnectionSite
      • Fill
      • Group
      • Image
      • Layout
      • Line
      • LineFill
      • Link
      • List
      • ListStyle
      • Master
      • NotesMaster
      • NotesPage
      • Page
      • PageBackground
      • PageElement
      • PageElementRange
      • PageRange
      • Paragraph
      • ParagraphStyle
      • PictureFill
      • Point
      • Presentation
      • Selection
      • Shape
      • SheetsChart
      • Slide
      • SolidFill
      • Table
      • TableCell
      • TableCellRange
      • TableColumn
      • TableRow
      • TextRange
      • TextStyle
      • ThemeColor
      • Video
      • WordArt
      • Enums
      • AlignmentPosition
      • ArrowStyle
      • AutoTextType
      • CellMergeState
      • ContentAlignment
      • DashStyle
      • FillType
      • LineCategory
      • LineFillType
      • LineType
      • LinkType
      • ListPreset
      • PageBackgroundType
      • PageElementType
      • PageType
      • ParagraphAlignment
      • PlaceholderType
      • PredefinedLayout
      • SelectionType
      • ShapeType
      • SheetsChartEmbedType
      • SlideLinkingMode
      • SlidePosition
      • SpacingMode
      • TextBaselineOffset
      • TextDirection
      • ThemeColorType
      • VideoSourceType
    • Spreadsheet
      • Overview
      • SpreadsheetApp
      • Classes
      • Banding
      • BigQueryDataSourceSpec
      • BigQueryDataSourceSpecBuilder
      • BooleanCondition
      • ConditionalFormatRule
      • ConditionalFormatRuleBuilder
      • ContainerInfo
      • DataExecutionStatus
      • DataSource
      • DataSourceParameter
      • DataSourceSpec
      • DataSourceSpecBuilder
      • DataSourceTable
      • DataValidation
      • DataValidationBuilder
      • DeveloperMetadata
      • DeveloperMetadataFinder
      • DeveloperMetadataLocation
      • EmbeddedAreaChartBuilder
      • EmbeddedBarChartBuilder
      • EmbeddedChart
      • EmbeddedChartBuilder
      • EmbeddedColumnChartBuilder
      • EmbeddedComboChartBuilder
      • EmbeddedHistogramChartBuilder
      • EmbeddedLineChartBuilder
      • EmbeddedPieChartBuilder
      • EmbeddedScatterChartBuilder
      • EmbeddedTableChartBuilder
      • Filter
      • FilterCriteria
      • FilterCriteriaBuilder
      • GradientCondition
      • Group
      • NamedRange
      • OverGridImage
      • PageProtection
      • PivotFilter
      • PivotGroup
      • PivotTable
      • PivotValue
      • Protection
      • Range
      • RangeList
      • RichTextValue
      • RichTextValueBuilder
      • Selection
      • Sheet
      • Slicer
      • Spreadsheet
      • TextFinder
      • TextRotation
      • TextStyle
      • TextStyleBuilder
      • Enums
      • AutoFillSeries
      • BandingTheme
      • BooleanCriteria
      • BorderStyle
      • CopyPasteType
      • DataExecutionErrorCode
      • DataExecutionState
      • DataSourceParameterType
      • DataSourceType
      • DataValidationCriteria
      • DeveloperMetadataLocationType
      • DeveloperMetadataVisibility
      • Dimension
      • Direction
      • GroupControlTogglePosition
      • InterpolationType
      • PivotTableSummarizeFunction
      • PivotValueDisplayType
      • ProtectionType
      • RecalculationInterval
      • RelativeDate
      • SheetType
      • TextDirection
      • TextToColumnsDelimiter
      • WrapStrategy
  • Advanced Google Services
    • How to Enable Advanced Services
    • Admin SDK
      • Directory
      • Enterprise License Manager
      • Groups Migration
      • Groups Settings
      • G Suite Reseller
      • Reports
    • AdSense
    • Analytics
    • BigQuery
    • Calendar
    • Classroom
    • Docs
    • DoubleClick Campaigns
    • Drive
      • Drive
      • Drive Activity
    • Fusion Tables
    • Gmail
    • Google+
      • Google+
      • Google+ Domains
    • Mirror
    • People
    • Prediction
    • Sheets
    • Shopping Content
    • Slides
    • Tasks
    • Tag Manager
    • URL Shortener
    • YouTube
      • YouTube Data
      • YouTube Analytics
      • YouTube Content ID
  • Script Services
    • Base
      • Overview
      • Browser
      • Logger
      • MimeType
      • Session
      • console
      • Classes
      • Blob
      • Menu
      • PromptResponse
      • RgbColor
      • Ui
      • User
      • Interfaces
      • BlobSource
      • Enums
      • Button
      • ButtonSet
      • ColorType
      • Month
      • Weekday
    • Cache
      • Overview
      • CacheService
      • Classes
      • Cache
    • Card
      • Overview
      • CardService
      • Classes
      • Action
      • ActionResponse
      • ActionResponseBuilder
      • AuthorizationAction
      • AuthorizationException
      • Button
      • ButtonSet
      • Card
      • CardAction
      • CardBuilder
      • CardHeader
      • CardSection
      • ComposeActionResponse
      • ComposeActionResponseBuilder
      • Image
      • ImageButton
      • KeyValue
      • Navigation
      • Notification
      • OpenLink
      • SelectionInput
      • Suggestions
      • SuggestionsResponse
      • SuggestionsResponseBuilder
      • Switch
      • TextButton
      • TextInput
      • TextParagraph
      • UniversalActionResponse
      • UniversalActionResponseBuilder
      • UpdateDraftActionResponse
      • UpdateDraftActionResponseBuilder
      • UpdateDraftBodyAction
      • Widget
      • Enums
      • ComposedEmailType
      • ContentType
      • Icon
      • ImageStyle
      • LoadIndicator
      • OnClose
      • OpenAs
      • SelectionInputType
      • TextButtonStyle
      • UpdateDraftBodyType
    • Charts
      • Overview
      • Charts
      • Classes
      • AreaChartBuilder
      • BarChartBuilder
      • Chart
      • ChartOptions
      • ColumnChartBuilder
      • DataTable
      • DataTableBuilder
      • DataViewDefinition
      • DataViewDefinitionBuilder
      • LineChartBuilder
      • NumberRangeFilterBuilder
      • PieChartBuilder
      • ScatterChartBuilder
      • StringFilterBuilder
      • TableChartBuilder
      • TextStyle
      • TextStyleBuilder
      • Interfaces
      • DataTableSource
      • Enums
      • ChartHiddenDimensionStrategy
      • ChartMergeStrategy
      • ChartType
      • ColumnType
      • CurveStyle
      • MatchType
      • Orientation
      • PickerValuesLayout
      • PointStyle
      • Position
    • Content
      • Overview
      • ContentService
      • Classes
      • TextOutput
      • Enums
      • MimeType
    • HTML
      • Overview
      • google.script.history (client-side)
      • google.script.host (client-side)
      • google.script.run (client-side)
      • google.script.url (client-side)
      • HtmlService
      • Classes
      • HtmlOutput
      • HtmlOutputMetaTag
      • HtmlTemplate
      • Enums
      • SandboxMode
      • XFrameOptionsMode
    • JDBC
      • Overview
      • Jdbc
      • Classes
      • JdbcArray
      • JdbcBlob
      • JdbcCallableStatement
      • JdbcClob
      • JdbcConnection
      • JdbcDatabaseMetaData
      • JdbcDate
      • JdbcParameterMetaData
      • JdbcPreparedStatement
      • JdbcRef
      • JdbcResultSet
      • JdbcResultSetMetaData
      • JdbcRowId
      • JdbcSQLXML
      • JdbcSavepoint
      • JdbcStatement
      • JdbcStruct
      • JdbcTime
      • JdbcTimestamp
    • Lock
      • Overview
      • LockService
      • Classes
      • Lock
    • Mail
      • Overview
      • MailApp
    • Optimization
      • Overview
      • LinearOptimizationService
      • Classes
      • LinearOptimizationConstraint
      • LinearOptimizationEngine
      • LinearOptimizationSolution
      • Enums
      • Status
      • VariableType
    • Properties
      • Overview
      • PropertiesService
      • ScriptProperties
      • UserProperties
      • Classes
      • Properties
    • Script
      • Overview
      • ScriptApp
      • Classes
      • AuthorizationInfo
      • CalendarTriggerBuilder
      • ClockTriggerBuilder
      • DocumentTriggerBuilder
      • FormTriggerBuilder
      • Service
      • SpreadsheetTriggerBuilder
      • StateTokenBuilder
      • Trigger
      • TriggerBuilder
      • Enums
      • AuthMode
      • AuthorizationStatus
      • EventType
      • InstallationSource
      • TriggerSource
    • URL Fetch
      • Overview
      • UrlFetchApp
      • Classes
      • HTTPResponse
      • OAuthConfig Migration
    • Utilities
      • Overview
      • Utilities
      • Enums
      • Charset
      • DigestAlgorithm
      • MacAlgorithm
      • RsaAlgorithm
    • XML
      • Overview
      • XmlService
      • Classes
      • Attribute
      • Cdata
      • Comment
      • DocType
      • Document
      • Element
      • EntityRef
      • Format
      • Namespace
      • ProcessingInstruction
      • Text
      • Interfaces
      • Content
      • Enums
      • ContentType
  • Home
  • Products
  • G Suite Developer
  • Apps Script
  • Reference

Enum Color

Color

An enum representing the named colors available to use in map images.

Properties

PropertyTypeDescription
BLACKEnum
BROWNEnum
GREENEnum
PURPLEEnum
YELLOWEnum
BLUEEnum
GRAYEnum
ORANGEEnum
REDEnum
WHITEEnum

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

  • Blog Blog
    The latest news on the G Suite Developers blog
  • GitHub GitHub
    Fork our samples and try them yourself
  • Issue Tracker Issue Tracker
    Something wrong? Send us a bug report!
  • Stack Overflow Stack Overflow
    Ask a question under the google-apps-script tag
  • Videos Videos
    Check out the Apps Script videos on YouTube
  • Tools

    • Script Editor
    • Apps Script Dashboard
  • Connect

    • @gsuitedevs on Twitter
  • Product Info

    • Terms of Service
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms
  • Privacy
  • Sign up for the Google Developers newsletter Subscribe