vb基础   vb实例教程   api调用   控件使用   经验技巧   数据库操作   算法及技术   vb源码下载
您的位置:首页 >> vb教程 >> 经验技巧  

分解颜色为RGB
出处:网络

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 don't work this way

[返回]

     

首页 | 设为首页 | 加入收藏 | 关于本站 | 友情链接 | 版权声明

     
 
Copyright© www.bianceng.cn Powered by 编程入门网 All Rights Reserved
吉ICP备06005558号