Java Color to RGB String toRGB(int red, int green, int blue)

Here you can find the source of toRGB(int red, int green, int blue)

Description

to RGB

License

Open Source License

Declaration

public static int toRGB(int red, int green, int blue) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.awt.Color;

public class Main {
    public static int toRGB(int red, int green, int blue) {
        return new Color(red, green, blue).getRGB();
    }//  ww w.  ja  va 2s.com
}

Related

  1. colourToString(Color colour)
  2. colourToString(java.awt.Color c)
  3. toRGB(Color c)
  4. toRGB(Color color)
  5. toRGB(ColorSpace colorSpace, float... components)
  6. toRGB565(Color c)
  7. toRGBA(Color c)
  8. toRGBFunctionCall(Color color)