当前位置:编程学习 > 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 dont work this way

补充:软件开发 , Vb ,
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,