Skip to content

Commit f07f934

Browse files
committed
added java interface
1 parent 4826936 commit f07f934

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ This repository contains various color palettes for TU Darmstadt's Corporate Des
44

55
## Available Palettes
66

7-
| Palette | Works with |
8-
| ------- | -------------- |
9-
| tud.gpl | Inkscape, Gimp |
10-
| tud.soc | LibreOffice |
7+
| Palette | Works with |
8+
| ------------- | -------------- |
9+
| tud.gpl | Inkscape, Gimp |
10+
| tud.soc | LibreOffice |
11+
| TUDColor.java | Java interface |
1112

1213

1314
## Installation

TUDColor.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import java.awt.Color;
2+
3+
public interface TUDColor {
4+
5+
public static final Color TUD1b = new Color(0, 90, 169);
6+
public static final Color TUD2b = new Color(0, 131, 204);
7+
public static final Color TUD3b = new Color(0, 157, 129);
8+
public static final Color TUD4b = new Color(153, 192, 0);
9+
public static final Color TUD5b = new Color(201, 212, 0);
10+
public static final Color TUD6b = new Color(253, 202, 0);
11+
public static final Color TUD7b = new Color(245, 163, 0);
12+
public static final Color TUD8b = new Color(236, 101, 0);
13+
public static final Color TUD9b = new Color(230, 0, 26);
14+
public static final Color TUD10b = new Color(166, 0, 132);
15+
public static final Color TUD11b = new Color(114, 16, 133);
16+
17+
public static final Color[] COLORS = { TUD1b, TUD2b, TUD3b, TUD4b, TUD5b,
18+
TUD6b, TUD7b, TUD8b, TUD9b, TUD10b, TUD11b };
19+
}

0 commit comments

Comments
 (0)