Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Farbe farbe = new Farbe();
- // Die Werte müssen zwischen 0 - 255 liegen
- Color color = farbe.rgb(255, 127, 0); // Hier wird ein Orange "gemixt"
- System.out.println("Rotanteil " + color.getRed() + " Grünanteil " + color.getGreen() + " Blauanteil " + color.getBlue());
- einStift.setzeFarbe(color);
Add Comment
Please, Sign In to add comment