Me.BackColor = Color.FromArgb(&HFF00)
Me.BackColor = Color.FromArgb(&HFF00FF00)
Me.BackColor = Color.FromArgb(&HFF, Color.FromArgb( rgb24 )) 'Me.BackColor = Color.FromArgb((-1 << 24) Or rgb24 )
Dim rgb1 As Integer = c.R + c.G * 256 + c.B * 256 * 256 Dim rgb2 As Integer = ((c.R * 256) + c.G * 256) + c.B
Dim sColor As String = "abcdef" 'rrggbb 形式 Dim rgbColor As Integer = Convert.ToInt32(sColor, 16) Dim cColor As Color = Color.FromArgb(255, Color.FromArgb(rgbColor))