/******************************************************************************* * Copyright (c) 2016 EclipseSource and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Ralf Sternberg - initial API and implementation ******************************************************************************/ package com.hangum.tadpole.commons.util; import org.eclipse.swt.graphics.RGB; /** * reference : http://cloford.com/resources/colours/500col.htm * * @author hangum * */ public class ColorsSWTUtils { /** 15개 컬러를 표현해야함*/ public static final RGB[] CAT10_COLORS = { new RGB( 0x1f, 0x77, 0xb4 ), new RGB( 0xff, 0x7f, 0x0e ), new RGB( 0x2c, 0xa0, 0x2c ), new RGB( 0xd6, 0x27, 0x28 ), new RGB( 0x94, 0x67, 0xbd ), new RGB( 0x8c, 0x56, 0x4b ), new RGB( 0xe3, 0x77, 0xc2 ), new RGB( 0x7f, 0x7f, 0x7f ), new RGB( 0xbc, 0xbd, 0x22 ), new RGB( 0x17, 0xbe, 0xcf ), new RGB( 0xee, 0xe9, 0xbf ), new RGB( 0xcd, 0xc9, 0xa5 ), new RGB( 0x8b, 0x89, 0x70 ), new RGB( 0xff, 0xec, 0x8b ), new RGB( 0xee, 0xdc, 0x82 ) }; }