get Brighter Color - Android Graphics

Android examples for Graphics:Color Brighten

Description

get Brighter Color

Demo Code


//package com.java2s;

public class Main {
    public static int getBrighterColor(int color) {
        return (color & 0x7f7f7f) << 1;
    }//from w  ww  . ja v  a2 s  .  c  o m
}

Related Tutorials