You are here

function yamaps_get_colors in Yandex.Maps 7

Provides list of hex colors.

2 calls to yamaps_get_colors()
yamaps_field_formatter_settings_form in inc/yamaps.formatter.inc
Implements hook_field_formatter_settings_form().
yamaps_field_formatter_view in inc/yamaps.formatter.inc
Implements hook_field_formatter_view().

File

./yamaps.module, line 475
Yandex Maps module main file.

Code

function yamaps_get_colors() {
  return [
    'blue' => '006cff',
    'lightblue' => '66c7ff',
    'night' => '004056',
    'darkblue' => '00339a',
    'green' => '33cc00',
    'white' => 'ffffff',
    'red' => 'ff0000',
    'orange' => 'ffb400',
    'darkorange' => 'ff6600',
    'yellow' => 'ffea00',
    'violet' => 'b832fd',
    'pink' => 'fd32fb',
  ];
}