001/*
002 * (C) Copyright 2013 Nuxeo SA (http://nuxeo.com/) and contributors.
003 *
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the GNU Lesser General Public License
006 * (LGPL) version 2.1 which accompanies this distribution, and is available at
007 * http://www.gnu.org/licenses/lgpl-2.1.html
008 *
009 * This library is distributed in the hope that it will be useful,
010 * but WITHOUT ANY WARRANTY; without even the implied warranty of
011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
012 * Lesser General Public License for more details.
013 *
014 * Contributors:
015 *     Martin Pernollet
016 */
017
018package org.nuxeo.ecm.platform.groups.audit.service.acl.excel;
019
020public class ByteColor {
021    public static ByteColor BLACK = new ByteColor((byte) 0x00, (byte) 0x00, (byte) 0x00);
022
023    public static ByteColor WHITE = new ByteColor((byte) 0xFF, (byte) 0xFF, (byte) 0xFF);
024
025    public static ByteColor GREEN = new ByteColor((byte) 0x00, (byte) 0xFF, (byte) 0x00);
026
027    public static ByteColor RED = new ByteColor((byte) 0xFF, (byte) 0x00, (byte) 0x00);
028
029    public static ByteColor BLUE = new ByteColor((byte) 0x00, (byte) 0x00, (byte) 0xFF);
030
031    public ByteColor(byte r, byte g, byte b) {
032        this.r = r;
033        this.g = g;
034        this.b = b;
035    }
036
037    public byte r;
038
039    public byte g;
040
041    public byte b;
042}