forked from joke2k/faker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
__init__.py
60 lines (53 loc) · 1.46 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
from collections import OrderedDict
from .. import Provider as ColorProvider
localized = True
class Provider(ColorProvider):
"""Implement color provider for ``id_ID`` locale.
Sources:
- https://id.wikipedia.org/wiki/Daftar_warna
"""
all_colors = OrderedDict(
(
("Abu-abu", "#808080"),
("Biru", "#0000FF"),
("Biru dongker", "#00008B"),
("Biru laut", "#0000CD"),
("Biru muda", "#ADD8E6"),
("Coklat", "#A52A2A"),
("Coklat tua", "#8B4513"),
("Emas", "#FFD700"),
("Hijau", "#008000"),
("Hijau muda", "#90EE90"),
("Hijau tua", "#006400"),
("Hitam", "#000000"),
("Jingga", "#FFA500"),
("Kuning", "#FFFF00"),
("Koral", "#FF7F50"),
("Magenta", "#FF00FF"),
("Merah", "#FF0000"),
("Merah marun", "#800000"),
("Merah jambu", "#FFC0CB"),
("Merah bata", "#B22222"),
("Perak", "#C0C0C0"),
("Nila", "#000080"),
("Putih", "#FFFFFF"),
("Ungu", "#800080"),
("Ungu tua", "#4B0082"),
("Zaitun", "#808000"),
)
)
safe_colors = (
"putih",
"hitam",
"merah",
"hijau",
"kuning",
"biru",
"ungu",
"abu-abu",
"coklat",
"perak",
"emas",
"pink",
"oranye",
)