| 1 | /** |
| 2 | * Copyright Copyright 2007-15 Simon Andrews |
| 3 | * |
| 4 | * This file is part of FastQC. |
| 5 | * |
| 6 | * Conclave is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; either version 3 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | * |
| 11 | * SeqMonk is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License |
| 17 | * along with Conclave; if not, write to the Free Software |
| 18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | */ |
| 20 | package uk.ac.babraham.FastQC.Utilities; |
| 21 | |
| 22 | /** |
| 23 | * A simple class to represent separate values for Red Green and Blue |
| 24 | * components of a colour. |
| 25 | */ |
| 26 | public class RGB { |
| 27 | |
| 28 | public int r; |
| 29 | public int g; |
| 30 | public int b; |
| 31 | |
| 32 | /** |
| 33 | * Instantiates a new RGB colour. |
| 34 | * |
| 35 | * @param r RED |
| 36 | * @param g GREEN |
| 37 | * @param b BLUE |
| 38 | */ |
| 39 | public RGB (int r, int g, int b) { |
| 40 | this.r = r; |
| 41 | this.g = g; |
| 42 | this.b = b; |
| 43 | } |
| 44 | } |