diff --git a/tutorials/image/trans_graph.C b/tutorials/image/trans_graph.C
index 8b435e3135e24748ada5106d303bacca6730bb9e..1e1c45e6e7b0d7ffe8105f8d86b9a68a8db73eea 100644
--- a/tutorials/image/trans_graph.C
+++ b/tutorials/image/trans_graph.C
@@ -19,7 +19,7 @@
 #include "TROOT.h"
 #include "TFrame.h"
 
-static UInt_t color2rgb(TColor *col)
+UInt_t color2rgb(TColor *col)
 {
    // returns RGB value of color