title: Color using RGB value in Matplotlib
body: <p>I have a dataframe which has X, Y, Z, R, G, B values and I want to plot the scatter plot using this information and for the color of each point in scatter plot I need to give values from R, G, B. I tried the following code it is working if I give static color like doing color = 'r'. But when I'm trying to give RGB values as shown in the code below it is generating error.</p>
  
  <pre><code>fig = plt.figure(figsize=(8,8))
  ax = fig.add_subplot(111, projection='3d')
  
  for i in range(size):
      ax.plot(pts[:,0], pts[:,1], pts[:,2], '.', color = rgba(pts[i, 3], pts[i, 4], pts[i, 5]), markersize=8, alpha=0.5)
  ax.set_xlabel('X')
  ax.set_ylabel('Y')
  ax.set_zlabel('Z')
  plt.show()
  </code></pre>
  
  <p>How can I give the value from the R, G, B columns of the dataframe?</p>
  
  <p>All the values are in 8-bit format.</p>