Advertisement
cepxuozab

ColorSvg

Sep 6th, 2023 (edited)
1,076
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.70 KB | None | 0 0
  1. {
  2.             Circle().SetFillColor(Rgb(1, 2, 3)).Render(cout);
  3.             cout << endl;
  4.         } {
  5.             Circle().SetFillColor(Rgba(1, 2, 3, 0.5)).Render(cout);
  6.             cout << endl;
  7.         } {
  8.             Circle().SetFillColor("black").Render(cout);
  9.             cout << endl;
  10.         } {
  11.             Circle().SetFillColor("be").Render(cout);
  12.             cout << endl;
  13.         } {
  14.             Circle().SetFillColor(NoneColor).Render(cout);
  15.         }
  16.  
  17. <circle cx="0" cy="0" r="1" fill="rgb(1,2,3)"/>
  18.  
  19. <circle cx="0" cy="0" r="1" fill="rgba(1,2,3,0.5)"/>
  20.  
  21. <circle cx="0" cy="0" r="1" fill="black"/>
  22.  
  23. <circle cx="0" cy="0" r="1" fill="be"/>
  24.  
  25. <circle cx="0" cy="0" r="1" fill="none"/>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement