--- /dev/null
+package org.simantics.district.network.profile;
+
+import java.awt.Color;
+
+/**
+ * @author Tuukka Lehtonen
+ */
+@FunctionalInterface
+public interface ColorGradient {
+
+ /**
+ * Applies this function to the given argument.
+ *
+ * @param t the function argument
+ * @return the function result
+ */
+ Color get(double t);
+
+}
\ No newline at end of file