当前位置:编程学习 > 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 © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,