-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolours.html
147 lines (145 loc) · 4.61 KB
/
colours.html
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SoCS Colours</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Lato:wght@700&display=swap"
rel="stylesheet"
/>
<style>
html,
body {
font-family: "Lato", sans-serif;
height: 100%;
width: 100%;
background-color: #121212;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
align-content: center;
}
.dark {
border: 1px solid #ffffff5a;
color: white !important;
}
.colour {
height: 160px;
width: 160px;
margin: 20px;
border-radius: 12px;
color: #121212;
font-size: 30px;
display: flex;
align-items: center;
justify-content: center;
align-content: center;
transition: transform 250ms ease-in-out;
cursor: pointer;
display: flex;
flex-direction: column;
}
.colour:hover {
scale: 1.2;
}
.colour .hex {
font-size: 20px;
}
</style>
</head>
<body>
<!-- Names have been generated by ChatGPT -->
<div class="colour" style="background-color: #fcc05f">
<span class="name">apricot</span>
<span class="hex">#fcc05f</span>
</div>
<div class="colour" style="background-color: #b68ae5">
<span class="name">lavender</span>
<span class="hex">#b68ae5</span>
</div>
<div class="colour" style="background-color: #e38178">
<span class="name">salmon</span>
<span class="hex">#e38178</span>
</div>
<div class="colour" style="background-color: #59d5d9">
<span class="name">cyan</span>
<span class="hex">#59d5d9</span>
</div>
<div class="colour" style="background-color: #7af58f">
<span class="name">mint</span>
<span class="hex">#7af58f</span>
</div>
<div class="colour" style="background-color: #7ab4f5">
<span class="name">sky</span>
<span class="hex">#7ab4f5</span>
</div>
<div class="colour" style="background-color: #cf8ba3">
<span class="name">blush</span>
<span class="hex">#cf8ba3</span>
</div>
<div class="colour" style="background-color: #6af0ca">
<span class="name">turquoise</span>
<span class="hex">#6af0ca</span>
</div>
<div class="colour" style="background-color: #bdc667">
<span class="name">chartreuse</span>
<span class="hex">#bdc667</span>
</div>
<div class="colour" style="background-color: #a4a4cb">
<span class="name">periwinkle</span>
<span class="hex">#a4a4cb</span>
</div>
<div class="colour" style="background-color: #e58a92">
<span class="name">coral</span>
<span class="hex">#e58a92</span>
</div>
<div class="colour" style="background-color: #c293c8">
<span class="name">lilac</span>
<span class="hex">#c293c8</span>
</div>
<div class="colour" style="background-color: #d6fffe">
<span class="name">frost</span>
<span class="hex">#d6fffe</span>
</div>
<div class="colour" style="background-color: #a2aebb">
<span class="name">slate</span>
<span class="hex">#a2aebb</span>
</div>
<div class="colour" style="background-color: #ff9b71">
<span class="name">tangerine</span>
<span class="hex">#ff9b71</span>
</div>
<div class="colour" style="background-color: #ffffff">
<span class="name">white</span>
<span class="hex">#ffffff</span>
</div>
<div class="colour dark" style="background-color: #121212">
<span class="name">black</span>
<span class="hex">#121212</span>
</div>
<div class="colour" style="background-color: #40bfff">
<span class="name">azure</span>
<span class="hex">#40bfff</span>
</div>
<div class="colour" style="background-color: #ff8040">
<span class="name">mango</span>
<span class="hex">#ff8040</span>
</div>
<div class="colour" style="background-color: #c65aed">
<span class="name">violet</span>
<span class="hex">#c65aed</span>
</div>
<div class="colour" style="background-color: #81ed5a">
<span class="name">emerald</span>
<span class="hex">#81ed5a</span>
</div>
<div class="colour" style="background-color: #f5e216">
<span class="name">amber</span>
<span class="hex">#f5e216</span>
</div>
</body>
</html>