分解颜色为RGB

页面导航:首页 > 软件编程 > vb.net > 分解颜色为RGB

分解颜色为RGB

来源: 作者: 时间:2016-02-05 12:32 【

To break an RGB color value into its components, use: red = color Mod 256 green = (color 256) Mod 256 blue = color 256

 

To break an RGB color value into its components, use:

    red = color Mod 256

    green = (color 256) Mod 256

    blue = color 256 256

 

There are some system colors that have funny values like &H8000000F&. Unfortunately they dont work this way

Tags:

相关文章

    文章评论

    最 近 更 新
    热 点 排 行
    Js与CSS工具
    代码转换工具
    
    <