RGB colors


  • Is there a list somewhere of all the RGB settings for the following code. So for example, if I wanted burgandy, how would I find out what the RGB code would be for that. Or if I wanted a lighter gray or something like that. Are all the colors listed somewhere?

    'Assign colors
        Dim lngBlack As Long
        Dim lngRed As Long
        Dim lngYellow As Long
        Dim lngWhite As Long
        lngBlack = RGB(0, 0, 0)
        lngRed = RGB(255, 0, 0)
        lngYellow = RGB(255, 255, 0)
        lngWhite = RGB(255, 255, 255)

    Steven Schuyler Berkeley, California USA

    Monday, July 30, 2012 2:31 PM


  • a good link:

    Or you may search with "RGB Color Codes"


    Please do not forget to click “Vote as Helpful” if any post helps you and Mark as Answer if it solves the issue.

    Asadulla Javed

    Monday, July 30, 2012 2:37 PM