颜色工具类

public class ColorsUtil {

    private ColorsUtil() {
throw new Error("Do not need instantiate!");
} /**
* 白色
*/
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; public static final int MY_ACCOUNT = 0xF53C4C;
}

Android-ColorsUtil工具类的更多相关文章

  1. 53. Android常用工具类

    主要介绍总结的Android开发中常用的工具类,大部分同样适用于Java.目前包括HttpUtils.DownloadManagerPro.ShellUtils.PackageUtils.Prefer ...

  2. Android 常见工具类封装

    1,MD5工具类: public class MD5Util { public final static String MD5(String s) { char hexDigits[] = { '0' ...

  3. 【转】Android常用工具类

    主要介绍总结的Android开发中常用的工具类,大部分同样适用于Java. 目前包括HttpUtils.DownloadManagerPro.ShellUtils.PackageUtils.Prefe ...

  4. Android基础工具类重构系列一Toast

    前言: 一直在考虑写一下Android实际项目中的一些总结,翻看CSDN博客,上一篇已经是一年多曾经. 本系列定位Android基础工具类重构.旨在记录实际项目中经经常使用到的一些工具类,比方Toas ...

  5. (转载)android 一些工具类汇总

    android 一些工具类汇总 作者:曾田生z 字体:[增加 减小] 类型:转载 时间:2016-08-14我要评论 本文给大家汇总介绍了一些常用的Android工具类,非常的简单实用,有需要的小伙伴 ...

  6. 随笔分类 - Android之工具类

    Android之文件搜索工具类 /** * @detail 搜索sdcard文件 * @param 需要进行文件搜索的目录 * @param 过滤搜索文件类型 */ private void sear ...

  7. Android 系统工具类SystemUtils

    包含的功能有: 获取系统中所有APP应用.获取用户安装的APP应用.根据包名和Activity启动类查询应用信息.跳转到WIFI设置.WIFI网络开关.移动网络开关.GPS开关 当前若关则打开 当前若 ...

  8. Android Sqlite 工具类封装

    鉴于经常使用 Sqlite 数据库做数据持久化处理,进行了一点封装,方便使用. 该封装类主要支持一下功能 支持多用户数据储存 支持 Sqlite数据库升级 支持传入 Sql 语句建表 支持 SQLit ...

  9. Android 常用工具类之SPUtil,可以修改默认sp文件的路径

    参考: 1. 利用Java反射机制改变SharedPreferences存储路径    Singleton1900 2. Android快速开发系列 10个常用工具类 Hongyang import ...

  10. Android常见工具类封装

    MD5加密 import android.annotation.SuppressLint; import java.security.MessageDigest; public class MD5 { ...

随机推荐

  1. zabbix出现中文不能选的情况

    像这里一样,有些选项是选不了的,这个时候我们要做的第一步就是,找到这个配置文件. 如果不知道在哪里的话可以用find命令查找. sudo find / -name locales.inc.php 找到 ...

  2. nfs只能挂载为nobody的解决方法

    不得不承认centos6较centos5发生了很大的变化,在新部署的centos 6.4上又遇到nfs挂载的问题.问题现象是,在配置完nfs后,无论配置里指定的是何用户,挂载成功后显示的只能是nobo ...

  3. Mysql InnoDB 数据更新 锁表

    一.数据表结构 1 2 3 4 5 6 7 8 9 10 CREATE TABLE `jx_attach` (   `attach_id` int(11) NOT NULL AUTO_INCREMEN ...

  4. Swagger+ springfox +Spring mvc

    简介 Swagger 是一个规范和完整的框架,用于生成.描述.调用和可视化 RESTful 风格的 Web 服务.总体目标是使客户端和文件系统作为服务器以同样的速度来更新.文件的方法,参数和模型紧密集 ...

  5. Python locals() 函数

    Python locals() 函数  Python 内置函数 描述 locals() 函数会以字典类型返回当前位置的全部局部变量. 对于函数, 方法, lambda 函式, 类, 以及实现了 __c ...

  6. ROI区域图像叠加

    ROI(region of interest),感兴趣区域.机器视觉.图像处理中,从被处理的图像以方框.圆.椭圆. 不规则多边形等方式勾勒出需要处理的区域,称为感兴趣区域,ROI.在Halcon.Op ...

  7. 兼容主流浏览器的css渐变色

    网页中的渐变色区域,渐变色背景,一般都是通过ps图片方法来实现,但是图片放得多了会影响网页的打开速度,本文介绍的就是用纯 CSS 实现 IE .Firefox.Chrome 和 和Safari都支持的 ...

  8. [leetcode]415. Add Strings字符串相加

    Given two non-negative integers num1 and num2 represented as string, return the sum of num1 and num2 ...

  9. IIS6.0创建新网站后,浏览显示需输入用户名和密码

    1.首先我们需要创建一个用于匿名访问的账号. 我的电脑右键,电脑管理->本地用户和组->用户->新用户 注意勾选(用户不能更改密码和密码永不过期这两项)   2.右键新创建的用户-& ...

  10. spring框架的概述与入门

    1. Spring框架的概述 * Spring是一个开源框架 * Spring是于2003 年兴起的一个轻量级的Java开发框架,由Rod Johnson在其著作Expert One-On-One J ...