# line-color icon

Line color. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/line-color

- Category: Design
- Use it for: line color, stroke color, outline color
- Tags: line color, stroke color, outline color, border color, stroke, outline, border, color, colour, line, figma, design tool, ui design
- Family: line-style, line-weight
- Component name: LineColorIcon
- Added: 2026-10-19

## Alternatives

- `paint-bucket`: the fill color
- `text-color`: the font color

## Don't confuse with

- `pencil`: pencil means edit; the pencil Google uses for border color is not ours

## Also fits

- fill: the stroke or outline color

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/line-color.svg · PNG https://gentleface.com/png/line-round/16/line-color.png · https://gentleface.com/png/line-round/32/line-color.png · https://gentleface.com/png/line-round/48/line-color.png
- line-soft: https://gentleface.com/svg/line-soft/16/line-color.svg · PNG https://gentleface.com/png/line-soft/16/line-color.png · https://gentleface.com/png/line-soft/32/line-color.png · https://gentleface.com/png/line-soft/48/line-color.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/line-color.svg · PNG https://gentleface.com/png/line-sharp/16/line-color.png · https://gentleface.com/png/line-sharp/32/line-color.png · https://gentleface.com/png/line-sharp/48/line-color.png
- solid-round: https://gentleface.com/svg/solid-round/16/line-color.svg · PNG https://gentleface.com/png/solid-round/16/line-color.png · https://gentleface.com/png/solid-round/32/line-color.png · https://gentleface.com/png/solid-round/48/line-color.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/line-color.svg · PNG https://gentleface.com/png/solid-soft/16/line-color.png · https://gentleface.com/png/solid-soft/32/line-color.png · https://gentleface.com/png/solid-soft/48/line-color.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/line-color.svg · PNG https://gentleface.com/png/solid-sharp/16/line-color.png · https://gentleface.com/png/solid-sharp/32/line-color.png · https://gentleface.com/png/solid-sharp/48/line-color.png

The SVG of every style: https://gentleface.com/icons/line-color.json (`svg`).

## Code (line-round)

The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M11 4L11 3.809L4 7.309L4 9L1 9L1 6L4 6L4 6.191L11 2.691L11 1L14 1L14 4L11 4ZM12.856 11.144C12.952 11.241 13 11.359 13 11.5L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 11.5C2 11.359 2.048 11.241 2.144 11.144C2.241 11.048 2.359 11 2.5 11L12.5 11C12.641 11 12.759 11.048 12.856 11.144ZM12 12L3 12L3 14L12 14L12 12Z"/></svg>
```

### React

```tsx
// Gentleface "line-color" (line-round), MIT. https://gentleface.com/icons/line-color
import type { SVGProps } from 'react';

export function LineColorIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M11 4L11 3.809L4 7.309L4 9L1 9L1 6L4 6L4 6.191L11 2.691L11 1L14 1L14 4L11 4ZM12.856 11.144C12.952 11.241 13 11.359 13 11.5L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 11.5C2 11.359 2.048 11.241 2.144 11.144C2.241 11.048 2.359 11 2.5 11L12.5 11C12.641 11 12.759 11.048 12.856 11.144ZM12 12L3 12L3 14L12 14L12 12Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "line-color" (line-round), MIT. https://gentleface.com/icons/line-color -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M11 4L11 3.809L4 7.309L4 9L1 9L1 6L4 6L4 6.191L11 2.691L11 1L14 1L14 4L11 4ZM12.856 11.144C12.952 11.241 13 11.359 13 11.5L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 11.5C2 11.359 2.048 11.241 2.144 11.144C2.241 11.048 2.359 11 2.5 11L12.5 11C12.641 11 12.759 11.048 12.856 11.144ZM12 12L3 12L3 14L12 14L12 12Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "line-color" (line-round), MIT. https://gentleface.com/icons/line-color -->
<script>
  let props = $props();
</script>

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
  <path d="M11 4L11 3.809L4 7.309L4 9L1 9L1 6L4 6L4 6.191L11 2.691L11 1L14 1L14 4L11 4ZM12.856 11.144C12.952 11.241 13 11.359 13 11.5L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 11.5C2 11.359 2.048 11.241 2.144 11.144C2.241 11.048 2.359 11 2.5 11L12.5 11C12.641 11 12.759 11.048 12.856 11.144ZM12 12L3 12L3 14L12 14L12 12Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "line-color" (line-round), MIT. https://gentleface.com/icons/line-color. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/line-color.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "line-color" (line-round), MIT. https://gentleface.com/icons/line-color. Takes the text color. */
.icon-line-color {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M11 4L11 3.809L4 7.309L4 9L1 9L1 6L4 6L4 6.191L11 2.691L11 1L14 1L14 4L11 4ZM12.856 11.144C12.952 11.241 13 11.359 13 11.5L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 11.5C2 11.359 2.048 11.241 2.144 11.144C2.241 11.048 2.359 11 2.5 11L12.5 11C12.641 11 12.759 11.048 12.856 11.144ZM12 12L3 12L3 14L12 14L12 12Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M11 4L11 3.809L4 7.309L4 9L1 9L1 6L4 6L4 6.191L11 2.691L11 1L14 1L14 4L11 4ZM12.856 11.144C12.952 11.241 13 11.359 13 11.5L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 11.5C2 11.359 2.048 11.241 2.144 11.144C2.241 11.048 2.359 11 2.5 11L12.5 11C12.641 11 12.759 11.048 12.856 11.144ZM12 12L3 12L3 14L12 14L12 12Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M11 4L11 3.809L4 7.309L4 9L1 9L1 6L4 6L4 6.191L11 2.691L11 1L14 1L14 4L11 4ZM12.856 11.144C12.952 11.241 13 11.359 13 11.5L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 11.5C2 11.359 2.048 11.241 2.144 11.144C2.241 11.048 2.359 11 2.5 11L12.5 11C12.641 11 12.759 11.048 12.856 11.144ZM12 12L3 12L3 14L12 14L12 12Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "line-color" (line-round), MIT. https://gentleface.com/icons/line-color
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#line-color"/></svg>
```

### SwiftUI

```swift
// Gentleface "line-color" (line-round), MIT. https://gentleface.com/icons/line-color
import SwiftUI

struct LineColorIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 11, y: 4))
        p.addLine(to: CGPoint(x: 11, y: 3.809))
        p.addLine(to: CGPoint(x: 4, y: 7.309))
        p.addLine(to: CGPoint(x: 4, y: 9))
        p.addLine(to: CGPoint(x: 1, y: 9))
        p.addLine(to: CGPoint(x: 1, y: 6))
        p.addLine(to: CGPoint(x: 4, y: 6))
        p.addLine(to: CGPoint(x: 4, y: 6.191))
        p.addLine(to: CGPoint(x: 11, y: 2.691))
        p.addLine(to: CGPoint(x: 11, y: 1))
        p.addLine(to: CGPoint(x: 14, y: 1))
        p.addLine(to: CGPoint(x: 14, y: 4))
        p.addLine(to: CGPoint(x: 11, y: 4))
        p.closeSubpath()
        p.move(to: CGPoint(x: 12.856, y: 11.144))
        p.addCurve(to: CGPoint(x: 13, y: 11.5), control1: CGPoint(x: 12.952, y: 11.241), control2: CGPoint(x: 13, y: 11.359))
        p.addLine(to: CGPoint(x: 13, y: 14.5))
        p.addCurve(to: CGPoint(x: 12.856, y: 14.856), control1: CGPoint(x: 13, y: 14.641), control2: CGPoint(x: 12.952, y: 14.759))
        p.addCurve(to: CGPoint(x: 12.5, y: 15), control1: CGPoint(x: 12.759, y: 14.952), control2: CGPoint(x: 12.641, y: 15))
        p.addLine(to: CGPoint(x: 2.5, y: 15))
        p.addCurve(to: CGPoint(x: 2.144, y: 14.856), control1: CGPoint(x: 2.359, y: 15), control2: CGPoint(x: 2.241, y: 14.952))
        p.addCurve(to: CGPoint(x: 2, y: 14.5), control1: CGPoint(x: 2.048, y: 14.759), control2: CGPoint(x: 2, y: 14.641))
        p.addLine(to: CGPoint(x: 2, y: 11.5))
        p.addCurve(to: CGPoint(x: 2.144, y: 11.144), control1: CGPoint(x: 2, y: 11.359), control2: CGPoint(x: 2.048, y: 11.241))
        p.addCurve(to: CGPoint(x: 2.5, y: 11), control1: CGPoint(x: 2.241, y: 11.048), control2: CGPoint(x: 2.359, y: 11))
        p.addLine(to: CGPoint(x: 12.5, y: 11))
        p.addCurve(to: CGPoint(x: 12.856, y: 11.144), control1: CGPoint(x: 12.641, y: 11), control2: CGPoint(x: 12.759, y: 11.048))
        p.closeSubpath()
        p.move(to: CGPoint(x: 12, y: 12))
        p.addLine(to: CGPoint(x: 3, y: 12))
        p.addLine(to: CGPoint(x: 3, y: 14))
        p.addLine(to: CGPoint(x: 12, y: 14))
        p.addLine(to: CGPoint(x: 12, y: 12))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// LineColorIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "line-color" (line-round), MIT. https://gentleface.com/icons/line-color
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val LineColorIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "line-color", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M11 4L11 3.809L4 7.309L4 9L1 9L1 6L4 6L4 6.191L11 2.691L11 1L14 1L14 4L11 4ZM12.856 11.144C12.952 11.241 13 11.359 13 11.5L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 11.5C2 11.359 2.048 11.241 2.144 11.144C2.241 11.048 2.359 11 2.5 11L12.5 11C12.641 11 12.759 11.048 12.856 11.144ZM12 12L3 12L3 14L12 14L12 12Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(LineColorIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_line_color.xml · Gentleface "line-color" (line-round), MIT. https://gentleface.com/icons/line-color -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M11 4L11 3.809L4 7.309L4 9L1 9L1 6L4 6L4 6.191L11 2.691L11 1L14 1L14 4L11 4ZM12.856 11.144C12.952 11.241 13 11.359 13 11.5L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 11.5C2 11.359 2.048 11.241 2.144 11.144C2.241 11.048 2.359 11 2.5 11L12.5 11C12.641 11 12.759 11.048 12.856 11.144ZM12 12L3 12L3 14L12 14L12 12Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "line-color" (line-round), MIT. https://gentleface.com/icons/line-color
import 'package:flutter/widgets.dart';

class LineColorIcon extends StatelessWidget {
  const LineColorIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _LineColorIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _LineColorIconPainter extends CustomPainter {
  _LineColorIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(11, 4)
      ..lineTo(11, 3.809)
      ..lineTo(4, 7.309)
      ..lineTo(4, 9)
      ..lineTo(1, 9)
      ..lineTo(1, 6)
      ..lineTo(4, 6)
      ..lineTo(4, 6.191)
      ..lineTo(11, 2.691)
      ..lineTo(11, 1)
      ..lineTo(14, 1)
      ..lineTo(14, 4)
      ..lineTo(11, 4)
      ..close()
      ..moveTo(12.856, 11.144)
      ..cubicTo(12.952, 11.241, 13, 11.359, 13, 11.5)
      ..lineTo(13, 14.5)
      ..cubicTo(13, 14.641, 12.952, 14.759, 12.856, 14.856)
      ..cubicTo(12.759, 14.952, 12.641, 15, 12.5, 15)
      ..lineTo(2.5, 15)
      ..cubicTo(2.359, 15, 2.241, 14.952, 2.144, 14.856)
      ..cubicTo(2.048, 14.759, 2, 14.641, 2, 14.5)
      ..lineTo(2, 11.5)
      ..cubicTo(2, 11.359, 2.048, 11.241, 2.144, 11.144)
      ..cubicTo(2.241, 11.048, 2.359, 11, 2.5, 11)
      ..lineTo(12.5, 11)
      ..cubicTo(12.641, 11, 12.759, 11.048, 12.856, 11.144)
      ..close()
      ..moveTo(12, 12)
      ..lineTo(3, 12)
      ..lineTo(3, 14)
      ..lineTo(12, 14)
      ..lineTo(12, 12)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_LineColorIconPainter old) => old.color != color;
}
```
