Android Open Source - android-utils Colors






From Project

Back to project page android-utils.

License

The source code is released under:

Apache License

If you think the Android project android-utils listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/**
 * Copyright 2014 Zhenguo Jin (jinzhenguo1990@gmail.com)
 *//from   w  w  w  .ja  va 2s.  co  m
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.worthed.util;

/**
 * ????? ???????
 *
 * @author jingle1267@163.com
 */
public class Colors {

    /**
     * ??
     */
    public static final int WHITE = 0xffffffff;

    /**
     * ?? - ??????
     */
    public static final int WHITE_TRANSLUCENT = 0x80ffffff;

    /**
     * ??
     */
    public static final int BLACK = 0xff000000;

    /**
     * ?? - ??????
     */
    public static final int BLACK_TRANSLUCENT = 0x80000000;

    /**
     * ???
     */
    public static final int TRANSPARENT = 0x00000000;

    /**
     * ??
     */
    public static final int RED = 0xffff0000;

    /**
     * ?? - ??????
     */
    public static final int RED_TRANSLUCENT = 0x80ff0000;

    /**
     * ?? - ??
     */
    public static final int RED_DARK = 0xff8b0000;

    /**
     * ?? - ?? - ??????
     */
    public static final int RED_DARK_TRANSLUCENT = 0x808b0000;

    /**
     * ??
     */
    public static final int GREEN = 0xff00ff00;

    /**
     * ?? - ??????
     */
    public static final int GREEN_TRANSLUCENT = 0x8000ff00;

    /**
     * ?? - ??
     */
    public static final int GREEN_DARK = 0xff003300;

    /**
     * ?? - ?? - ??????
     */
    public static final int GREEN_DARK_TRANSLUCENT = 0x80003300;

    /**
     * ?? - ??
     */
    public static final int GREEN_LIGHT = 0xffccffcc;

    /**
     * ?? - ?? - ??????
     */
    public static final int GREEN_LIGHT_TRANSLUCENT = 0x80ccffcc;

    /**
     * ???
     */
    public static final int BLUE = 0xff0000ff;

    /**
     * ??? - ??????
     */
    public static final int BLUE_TRANSLUCENT = 0x800000ff;

    /**
     * ??? - ??
     */
    public static final int BLUE_DARK = 0xff00008b;

    /**
     * ??? - ?? - ??????
     */
    public static final int BLUE_DARK_TRANSLUCENT = 0x8000008b;

    /**
     * ??? - ??
     */
    public static final int BLUE_LIGHT = 0xff36a5E3;

    /**
     * ??? - ?? - ??????
     */
    public static final int BLUE_LIGHT_TRANSLUCENT = 0x8036a5E3;

    /**
     * ???
     */
    public static final int SKYBLUE = 0xff87ceeb;

    /**
     * ??? - ??????
     */
    public static final int SKYBLUE_TRANSLUCENT = 0x8087ceeb;

    /**
     * ??? - ??
     */
    public static final int SKYBLUE_DARK = 0xff00bfff;

    /**
     * ??? - ?? - ??????
     */
    public static final int SKYBLUE_DARK_TRANSLUCENT = 0x8000bfff;

    /**
     * ??? - ??
     */
    public static final int SKYBLUE_LIGHT = 0xff87cefa;

    /**
     * ??? - ?? - ??????
     */
    public static final int SKYBLUE_LIGHT_TRANSLUCENT = 0x8087cefa;

    /**
     * ????
     */
    public static final int GRAY = 0xff969696;

    /**
     * ???? - ??????
     */
    public static final int GRAY_TRANSLUCENT = 0x80969696;

    /**
     * ???? - ??
     */
    public static final int GRAY_DARK = 0xffa9a9a9;

    /**
     * ???? - ?? - ??????
     */
    public static final int GRAY_DARK_TRANSLUCENT = 0x80a9a9a9;

    /**
     * ???? - ??
     */
    public static final int GRAY_DIM = 0xff696969;

    /**
     * ???? - ?? - ??????
     */
    public static final int GRAY_DIM_TRANSLUCENT = 0x80696969;

    /**
     * ???? - ??
     */
    public static final int GRAY_LIGHT = 0xffd3d3d3;

    /**
     * ???? - ?? - ??????
     */
    public static final int GRAY_LIGHT_TRANSLUCENT = 0x80d3d3d3;

    /**
     * ??
     */
    public static final int ORANGE = 0xffffa500;

    /**
     * ?? - ??????
     */
    public static final int ORANGE_TRANSLUCENT = 0x80ffa500;

    /**
     * ?? - ??
     */
    public static final int ORANGE_DARK = 0xffff8800;

    /**
     * ?? - ?? - ??????
     */
    public static final int ORANGE_DARK_TRANSLUCENT = 0x80ff8800;

    /**
     * ?? - ??
     */
    public static final int ORANGE_LIGHT = 0xffffbb33;

    /**
     * ?? - ?? - ??????
     */
    public static final int ORANGE_LIGHT_TRANSLUCENT = 0x80ffbb33;

    /**
     * ??
     */
    public static final int GOLD = 0xffffd700;

    /**
     * ?? - ??????
     */
    public static final int GOLD_TRANSLUCENT = 0x80ffd700;

    /**
     * ??
     */
    public static final int PINK = 0xffffc0cb;

    /**
     * ?? - ??????
     */
    public static final int PINK_TRANSLUCENT = 0x80ffc0cb;

    /**
     * ???
     */
    public static final int FUCHSIA = 0xffff00ff;

    /**
     * ??? - ??????
     */
    public static final int FUCHSIA_TRANSLUCENT = 0x80ff00ff;

    /**
     * ?????
     */
    public static final int GRAYWHITE = 0xfff2f2f2;

    /**
     * ????? - ??????
     */
    public static final int GRAYWHITE_TRANSLUCENT = 0x80f2f2f2;

    /**
     * ??
     */
    public static final int PURPLE = 0xff800080;

    /**
     * ?? - ??????
     */
    public static final int PURPLE_TRANSLUCENT = 0x80800080;

    /**
     * ????
     */
    public static final int CYAN = 0xff00ffff;

    /**
     * ???? - ??????
     */
    public static final int CYAN_TRANSLUCENT = 0x8000ffff;

    /**
     * ???? - ??
     */
    public static final int CYAN_DARK = 0xff008b8b;

    /**
     * ???? - ?? - ??????
     */
    public static final int CYAN_DARK_TRANSLUCENT = 0x80008b8b;

    /**
     * ??
     */
    public static final int YELLOW = 0xffffff00;

    /**
     * ?? - ??????
     */
    public static final int YELLOW_TRANSLUCENT = 0x80ffff00;

    /**
     * ?? - ??
     */
    public static final int YELLOW_LIGHT = 0xffffffe0;

    /**
     * ?? - ?? - ??????
     */
    public static final int YELLOW_LIGHT_TRANSLUCENT = 0x80ffffe0;

    /**
     * ????
     */
    public static final int CHOCOLATE = 0xffd2691e;

    /**
     * ???? - ??????
     */
    public static final int CHOCOLATE_TRANSLUCENT = 0x80d2691e;

    /**
     * ???
     */
    public static final int TOMATO = 0xffff6347;

    /**
     * ??? - ??????
     */
    public static final int TOMATO_TRANSLUCENT = 0x80ff6347;

    /**
     * ???
     */
    public static final int ORANGERED = 0xffff4500;

    /**
     * ??? - ??????
     */
    public static final int ORANGERED_TRANSLUCENT = 0x80ff4500;

    /**
     * ???
     */
    public static final int SILVER = 0xffc0c0c0;

    /**
     * ??? - ??????
     */
    public static final int SILVER_TRANSLUCENT = 0x80c0c0c0;

    /**
     * ??
     */
    public static final int HIGHLIGHT = 0x33ffffff;

    /**
     * ??
     */
    public static final int LOWLIGHT = 0x33000000;

}




Java Source Code List

com.worthed.BuildConfig.java
com.worthed.app.BaseApplication.java
com.worthed.app.BaseCrashHandler.java
com.worthed.app.RebootThreadExceptionHandler.java
com.worthed.app.StartAppReceiver.java
com.worthed.demo.BitmapActivity.java
com.worthed.demo.MainActivity.java
com.worthed.demo.ViewFinderActivity.java
com.worthed.util.AnimationUtils.java
com.worthed.util.AppUtils.java
com.worthed.util.AssetDatabaseOpenHelper.java
com.worthed.util.BitmapUtil.java
com.worthed.util.CipherUtils.java
com.worthed.util.Colors.java
com.worthed.util.CommonUtil.java
com.worthed.util.DataCleanManager.java
com.worthed.util.DatabaseExportUtils.java
com.worthed.util.DateUtils.java
com.worthed.util.DeviceStatusUtils.java
com.worthed.util.DisplayUtils.java
com.worthed.util.DoubleKeyValueMap.java
com.worthed.util.DownloadManagerPro.java
com.worthed.util.FileUtils.java
com.worthed.util.HanziToPinyin.java
com.worthed.util.ImsiUtil.java
com.worthed.util.LocationUtils.java
com.worthed.util.LogUtils.java
com.worthed.util.NetUtil.java
com.worthed.util.PackageUtils.java
com.worthed.util.PhoneUtil.java
com.worthed.util.PollingUtils.java
com.worthed.util.PreferencesCookieStore.java
com.worthed.util.RUtils.java
com.worthed.util.RandomUtils.java
com.worthed.util.RegUtils.java
com.worthed.util.ResourceUtils.java
com.worthed.util.SDCardUtils.java
com.worthed.util.SettingUtils.java
com.worthed.util.ShellUtils.java
com.worthed.util.ShortCutUtils.java
com.worthed.util.Singleton.java
com.worthed.util.StringUtils.java
com.worthed.util.ViewAnimationUtils.java
com.worthed.util.ViewFinder.java
com.worthed.util.ViewUtils.java
com.worthed.util.WindowUtils.java